The split view splitter reports no ARIA position until one has been measured
Categories
(Toolkit :: UI Widgets, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: florian, Assigned: florian)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file, 1 obsolete file)
split-view-splitter in toolkit/content/widgets/tabbox.js sets aria-valuenow only asynchronously. Until the first measurement arrives it is a role="separator" with no position for a screen reader to report.
browser_tab_splitview_resize.js and browser_tab_splitview_telemetry.js fail the mochitest accessibility checks for this once the checks require a position, because the check runs at click time before the attribute exists. Setting a position when the splitter is created fixes both.
| Assignee | ||
Comment 1•1 month ago
|
||
The splitter is a separator with tabindex="0", so ARIA requires it to report a
position, but it has none until a layout flush, and the values are removed
again when a split view is torn down. Between creation and that first flush,
and from a teardown until the next one, a screen reader finds a window splitter
that reports no position at all.
| Assignee | ||
Comment 2•1 month ago
|
||
assertCanBeClicked can never accept a window splitter: findInteractiveAccessible
and assertInteractive take only INTERACTIVE_ROLES, and the action count rule
demands an accessible action that ARIAMap.cpp gives ARIA separator and scrollbar
never. Making all of INTERACTIVE_IF_FOCUSABLE_ROLES reachable would also make
focusable gridcells findable and bypass isAccessibleGridcell, so this covers
those two roles only, and requires aria-valuenow in the action count's place.
The only node it newly judges tree-wide is the split view splitter in
tabbox.js.
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 4•1 month ago
|
||
Reverted this because it was causing Linux mochitests failures.
Comment 6•1 month ago
|
||
| bugherder | ||
Updated•1 month ago
|
| Assignee | ||
Updated•20 days ago
|
Description
•