Closed Bug 1879191 Opened 1 year ago Closed 1 year ago

Update AccessibilityUtils to include XUL:buttons that are removed before the l10n is completed in the label checks exceptions

Categories

(Firefox :: Search, task, P2)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

Details

Attachments

(1 file)

Add an exception to AccessibilityUtils during label checks to determine if an accessible is a XUL:button on a prompt popup. We know this button is accessible, but it disappears as soon as it is clicked during tests and the a11y-checks do not have time to test the label, because the Fluent localization is not yet completed by then. Thus, we need to special case the label check for these controls.

The test affected: browser/components/urlbar/tests/browser/browser_add_search_engine.js

Summary: Update AccessibilityUtils to include show-all and a few image buttons on the about:config page that are removed before the l10n is completed in the label checks exceptions → Update AccessibilityUtils to include XUL:buttons that are removed before the l10n is completed in the label checks exceptions

Add an exception to AccessibilityUtils during label checks to determine if an accessible is a XUL:button on a prompt popup. We know this button is accessible, but it disappears as soon as it is clicked during tests and the a11y-checks do not have time to test the label, because the Fluent localization is not yet completed by then. Thus, we need to special case the label check for these controls.

The test affected: browser/components/urlbar/tests/browser/browser_add_search_engine.js

Depends on D200745

Assignee: nobody → ayeddi
Status: NEW → ASSIGNED
Severity: -- → N/A
Priority: -- → P2
Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b9e4cd092974 Update AccessibilityUtils to include XUL:buttons that are removed before the l10n is completed in the label checks exceptions. r=Jamie
Regressions: 1882430
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: