Closed Bug 2056342 Opened 1 month ago Closed 1 day ago

[a11y] Inaccessible tabbed interface

Categories

(Firefox :: New Tab Page, defect)

Firefox 154
defect

Tracking

()

RESOLVED WONTFIX
Accessibility Severity s3

People

(Reporter: A02291979, Unassigned, NeedInfo)

References

(Blocks 2 open bugs)

Details

(Keywords: access)

Attachments

(1 file)

Impacted Section/Element

HNT

Steps to Reproduce

On HNT, open DevTools. Inspect the "Results", "Now", and "Upcoming" buttons in the "Sports" widget.

Expected Behavior

The tabbed interface has the correct keyboard interactions, ARIA attributes, and code structures. When focus moves into the tab list, focus is set on the active tab (the one whose panel is visible). When a tab has the focus, hitting the Tab key moves focus to its associated panel. The Tab key does not navigate among the tabs. When focus is on a tab in an automatic tabbed interface, when the tab receives the focus, the tab becomes active, and the associated panel is exposed immediately. Each panel has role="tabpanel". If the tab list has no visible label, the tab list element is labeled with aria-label.

Actual Behavior

The tabbed interface has incorrect keyboard interactions, ARIA attributes, and code structures.

User Impact

When tabbed interfaces do not have the correct keyboard interactions, ARIA attributes, and code structures, this confuses users and makes it difficult for them to access the content.

WCAG 2.2 References

WCAG 2.1.1 (Keyboard - Level A), WCAG 4.1.2 (Name, Role, Value - Level A)

Recommendations

Remodel the tabbed interface after the WAI-ARIA Automatic Tabbed Interface. When focus moves into the tab list, focus must be set on the active tab (the one whose panel is visible). When a tab has the focus, hitting the Tab key must move focus to its associated panel. The Tab key must not navigate among the tabs. When focus is on a tab in an automatic tabbed interface, when the tab receives the focus, the tab must become active, and the associated panel must be exposed, immediately. Each panel needs role="tabpanel". If the tab list has no visible label, the tab list element needs to be labeled with aria-label.

Testing Environment

Any

Assistive Technology Used

Any

Further Reference

https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-automatic/

Severity

3-Moderate

Component: General → New Tab Page
Accessibility Severity: --- → s3

The severity field is not set for this bug.
:thecount, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(sdowne)
Blocks: 2060957

For sports widget; won't fix.

Status: NEW → RESOLVED
Closed: 1 day ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: