Closed Bug 1886268 Opened 4 months ago Closed 4 months ago

Add exceptions from a11y_checks for two clicks on non-interactive elements in Settings UI

Categories

(Firefox :: Settings UI, task, P3)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

The browser/browser/components/preferences/tests/browser_subdialogs.js sends two clicks on the following non-interactive element to check the closing of the opened dialog using an alternative way of the popup dismissal is working as expected:

  1. label with "dialogTitle" class to confirm nothing happens
  2. overlay background with "dialogTemplate" ID to confirm clicking outside of the dialog does, in fact, closes it.

For users of keyboards and assistive technology another way like pressing Esc key is available to dismiss the dialog, thus we need to add exceptions from the a11y_checks for this tests via setEnv and remove the fail-if notation from its test manifest.

The browser/browser/components/preferences/tests/browser_subdialogs.js sends two clicks on the following non-interactive element to check the closing of the opened dialog using an alternative way of the popup dismissal is working as expected:

  1. label with "dialogTitle" class to confirm nothing happens
  2. overlay background with "dialogTemplate" ID to confirm clicking outside of the dialog does, in fact, closes it.

For users of keyboards and assistive technology another way like pressing Esc key is available to dismiss the dialog, thus we need to add exceptions from the a11y_checks for this tests via setEnv and remove the fail-if notation from its test manifest.

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d40714bda4ac
Add exceptions from a11y_checks for two clicks on non-interactive elements in Settings UI. r=settings-reviewers,Gijs
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: