Behaviour SwRS-MDOKFSTUDIO-LIFE-193
The line marker shows the hidden tabs that hold the line and marks its exact line
When the line marker is requested on a line inside a tab item that is not shown, the page SHALL select that tab and every hidden tab around the line, outermost first, the way a click does (the sets of the sync group follow, the focus does not move), unfold a folded section or a closed dropdown around the tab set first, and mark the exact paragraph or code line inside the shown tab, and SHALL select no tab for the tab-set line, nor for a later placement of the marker.
Part of StRS-MDOKFSTUDIO-LIFE-023, outside the paths drawn on its map.
Scenarios 2
The situations the tests check; open one to read it.
nominalA line in the second tab
Givena tab set whose second tab is not shown and holds a soft-wrapped paragraph
Whenthe page receives previewRevealLine for the third wrapped line of that paragraph
Thenthe second tab is shown (aria-selected true, its panel not hidden) and one arrow and band are drawn on that wrapped line
boundaryNested, folded and later cases
| Input | Outcome |
|---|---|
| a tab set nested in a hidden tab | both tabs are selected, the outer one first |
| a tab set in a closed dropdown or a folded section | the dropdown or section opens first, then the tab is selected |
| a code line in the hidden tab | the marker sits on that code line |
| the tab-set line | the top of the set is marked and no tab is selected |
| the tab is selected by the marker | the sets of its sync group follow, the choice is kept after a content patch, the focus does not move |
| the reader shows another tab (keyboard or sync group) | the marker is not drawn until its tab shows again, and a later placement selects no tab |