Skip to content

Commit d4732f8

Browse files
kemister85ArvinJ-H
andauthored
DOC-3131: The editor.selection.scrollIntoView() method now pads the target scroll area with a small margin, ensuring content doesn't sit at the very edge of the viewport. (#3666)
* DOC-3131: The editor.selection.scrollIntoView() method now pads the target scroll area with a small margin, ensuring content doesn't sit at the very edge of the viewport. * Update modules/ROOT/pages/7.8.0-release-notes.adoc Co-authored-by: Arvin(Jintao) Han <[email protected]> --------- Co-authored-by: Arvin(Jintao) Han <[email protected]>
1 parent 76877b0 commit d4732f8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/ROOT/pages/7.8.0-release-notes.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,13 @@ For information on using Enhanced Skins & Icon Packs, see: xref:enhanced-skins-a
129129

130130
// CCFR here.
131131

132+
=== The `+editor.selection.scrollIntoView()+` method now pads the target scroll area with a small margin, ensuring content doesn't sit at the very edge of the viewport.
133+
// #TINY-11786
134+
135+
Previously, when cycling through accessibility issues in the a11y checker dialog, the highlighted content could appear aligned to the very edge of the viewport, making it difficult to identify and visually track. This behavior impacted usability by reducing the effectiveness of the a11y checker tool.
136+
137+
In {productname} {release-version}, the `+editor.selection.scrollIntoView()+` method was updated to include a top and bottom margin, aligning the highlighted content to a fixed `30px` from the edge of the viewport. Additionally, a visual overlay was introduced to draw attention to the selected element. These changes improve visibility, provide smoother and more intuitive scroll positioning, and enhance the overall user experience when navigating accessibility issues in {productname}.
138+
132139

133140
[[additions]]
134141
== Additions

0 commit comments

Comments
 (0)