Closed Bug 1872285 Opened 9 months ago Closed 8 months ago

Add a check for a button or link within a listitem in a focusable Firefox View list in the a11y-checks

Categories

(Firefox :: Firefox View, task, P3)

task

Tracking

()

RESOLVED FIXED
124 Branch
Accessibility Severity s4
Tracking Status
firefox124 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

Details

(Keywords: access)

Attachments

(1 file)

In the Firefox View main view, within the <fxview-tab-list> list component, there are a.fxview-tab-row-main and button.fxview-tab-row-secondary-button elements which focusability is handled by the JavaScript - they are made not focusable by default to reduce the number of tabstops needed for a keyboard user to navigate through the Firefox View and each list has only one control that is made keyboard focusable.

The main view of Firefox View has role="application" set which communicates to a screen reader user that a custom navigation pattern is to be expected. But since hyperlinks and buttons are expected to be made individually focusable, Tier 2 a11y_checks are currently failing the ifKeyboardFocusable check for these controls.

We need to add an custom exemption check for the Firefox View tab-row controls in the AccessibilityUtils to automatically pass these elements while the current navigation pattern is used.

In the Firefox View main view, within the <fxview-tab-list> list component, there are a.fxview-tab-row-main and button.fxview-tab-row-secondary-button elements which focusability is handled by the JavaScript - they are made not focusable by default to reduce the number of tabstops needed for a keyboard user to navigate through the Firefox View and each list has only one control that is made keyboard focusable.

The main view of Firefox View has role="application" set which communicates to a screen reader user that a custom navigation pattern is to be expected. But since hyperlinks and buttons are expected to be made individually focusable, Tier 2 a11y_checks are currently failing the ifKeyboardFocusable check for these controls.

We need to add an custom exemption check for the Firefox View tab-row controls in the AccessibilityUtils to automatically pass these elements while the current navigation pattern is used.

Since some Firefox View tests will start passing a11y_checks, we also update the appropriate test manifests correcting the fail-if notations.

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b9335c5177f4 Add a check for a button or link within a listitem in a focusable Firefox View list in the AccessibilityUtils. r=Jamie,fxview-reviewers
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
Blocks: 1877538
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: