Closed Bug 1873279 Opened 5 months ago Closed 5 months ago

Add an exception from a11y_checks for clicks on a non-interactive header containers in Add-On tests

Categories

(Toolkit :: Add-ons Manager, task, P3)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

The toolkit/mozapps/extensions/test/browser/browser_addon_list_reordering.js sends a click on the static h1.header-nameelement as well as (browser_html_list_view.js)[https://searchfox.org/mozilla-central/rev/9c509b8feb28c1e76ad41e65bf9fd87ef672b00f/toolkit/mozapps/extensions/test/browser/browser_html_list_view.js#400-405,938,975] does in multiple places. These tests are purposefully clicking on this non-interactive text outside of the tested list to clear any focus.

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

The toolkit/mozapps/extensions/test/browser/browser_addon_list_reordering.js sends a click on the static h1.header-nameelement as well as (browser_html_list_view.js)[https://searchfox.org/mozilla-central/rev/9c509b8feb28c1e76ad41e65bf9fd87ef672b00f/toolkit/mozapps/extensions/test/browser/browser_html_list_view.js#400-405] does. These tests are purposefully clicking on this non-interactive text outside of the tested list to clear any focus.

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

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Blocks: 1873299
Summary: Add an exception from a11y_checks for clicks on a non-interactive h1.header-name in Add Ons tests → Add an exception from a11y_checks for clicks on a non-interactive header containers in Add-On tests
Severity: -- → N/A
Priority: -- → P3
Pushed by ayeddi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d2b0325ced3
Add an exception from a11y_checks for clicks on a non-interactive h1.header-name in Add-Ons tests. r=rpl
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: