Closed Bug 2059852 Opened 3 months ago Closed 29 days ago

[a11y] Dialog fails to contain keyboard focus

Categories

(Firefox :: New Tab Page, defect)

Firefox 155
Unspecified
Windows 11
defect

Tracking

()

RESOLVED FIXED
160 Branch
Accessibility Severity s3
Tracking Status
firefox155 --- wontfix
firefox160 --- fixed

People

(Reporter: A02291979, Assigned: akulyk)

References

(Blocks 1 open bug)

Details

(Keywords: access, Whiteboard: [recomp-nova])

Attachments

(1 file, 1 external file)

Impacted Section/Element

About:newprofile

Steps to Reproduce

Activate the "Edit Avatar" button. In the resulting "Edit Avatar" dialog, navigate it using the keyboard.

Expected Behavior

Focus is contained within the dialog until it is dismissed.

Actual Behavior

If the user tabs past the last element in the dialog, focus advances to background content that is meant to be inaccessible.

User Impact

Focused elements in the background may be partially or entirely obscured behind the dialog. Users relying on screen reader output may be unaware that the dialog is still present.

WCAG 2.2 References

"WCAG 2.1.1 - Keyboard (https://www.w3.org/WAI/WCAG22/Understanding/keyboard.html)
WCAG 2.4.11 - Focus Not Obscured (Minimum)(https://www.w3.org/WAI/WCAG22/Understanding/focus-not-obscured-minimum.html)"

Recommendations

Keep keyboard focus contained within the dialog until it is dismissed.

Testing Environment

Windows 11

Assistive Technology Used

Any

Further Reference

Severity

3-Moderate

The Bugbug bot thinks this bug is an accessibility bug, but please revert this change in case of error.

Keywords: access
Accessibility Severity: --- → s3
Blocks: 2060957
Whiteboard: [recomp-nova]

The Bugbug bot thinks this bug should belong to the 'Firefox::New Tab Page' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → New Tab Page
Assignee: nobody → akulyk
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/854e8a341da4 https://hg.mozilla.org/integration/autoland/rev/781b0e70fce1 Revert "Bug 2059852 - Contain keyboard focus inside Edit Avatar dialog r=mkennedy,niklas" for causing bc tests failures at components/profiles

Backed out for causing bc tests failures at components/profiles
Backout Link
Push with failures
Failure Log
Failure line
TEST-UNEXPECTED-FAIL | leakcheck large nsGlobalWindowInner | browser/components/profiles/tests/browser/browser.toml

Flags: needinfo?(akulyk)
Status: NEW → RESOLVED
Closed: 29 days ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
Flags: needinfo?(akulyk)
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: