Closed Bug 2081044 Opened 1 month ago Closed 9 days ago

Add axe observers to Account Hub component tests

Categories

(Thunderbird :: Account Manager, task)

task
Points:
3

Tracking

(Not tracked)

RESOLVED FIXED
162 Branch

People

(Reporter: arschmitz, Assigned: arschmitz)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(21 external files)

Add axe observers in setup for Account Hub component tests in mail/components/accountcreation/test/browser/.

Assignee: nobody → arschmitz
Points: --- → 3

Add observers, register cleanup before awaited setup, and finish watchers before closing tabs. Keep all supporting repairs out of this commit.

Replace Boolean-style aria-hidden values with true. Existing first-run scenarios and axe observers cover the branding state.

Move the alert role from summary to notification text in production and fixture copies. Existing test scenarios and axe observers cover notifications.

Keep requested title visibility separate from translated title text. Existing title-changing scenarios and axe observers cover empty headings.

Expose the initial header/form translation promise, inherit it in option-select, and await it before starting watchers. Wait for the alternate form as well.

Give the redundant account selection icon an empty image alternative.

Mark credentials detail icons as decorative in the production template and fixture.

Remove image localization IDs that overwrite empty alternatives. Retain the adjacent localized validation messages.

Announce newly shown validation errors with polite live regions in email and remote address book forms and their fixtures.

Correct aria-describedby for the LDAP name error. Keep the existing invalid-name scenarios and axe coverage.

Initialize the empty select-all checkbox label and disabled state when the sync form connects.

Use current input element references for aria-controls and clear stale references on reset. Existing set-state/reset scenarios run with axe observers.

Load the production Account Hub stylesheet in the three fixtures that omitted it.

Load branding strings for credentials and Account Hub strings for the footer fixture.

Add explicit labels for the three helper-text fixture inputs.

Contain the two independent step fixtures in main to avoid duplicate page banner landmarks.

Remove the original form while testing its alternate preference state, then restore it. Keep IDs and access keys unique.

Scroll LDAP mouse targets into view so the existing headless test actions reach their controls.

Scroll and click the native select inside the Exchange custom control before waiting for its popup.

Wait for the desired hidden state even when the Exchange OAuth options are already hidden.

Give the Exchange fixture header buttons the same localization IDs as production.

Attachment #9677569 - Attachment description: Bug 2081044 - Hide empty title headings until their text arrives. r=aleca → Bug 2081044 - Set production titles in Account Hub test fixtures. r=aleca
Target Milestone: --- → 162 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/7862a95142aa
Add axe observers to Account Hub component tests. r=aleca
https://hg.mozilla.org/comm-central/rev/7779c14fecac
Use valid ARIA values for first-run branding. r=aleca
https://hg.mozilla.org/comm-central/rev/0daecbb159bf
Keep native notification disclosure semantics. r=aleca
https://hg.mozilla.org/comm-central/rev/8d821ef8657e
Set production titles in Account Hub test fixtures. r=aleca
https://hg.mozilla.org/comm-central/rev/9f823bb9e90b
Wait for initial header and form translations. r=aleca
https://hg.mozilla.org/comm-central/rev/2daf2a8f5936
Mark account selection icons as decorative. r=aleca
https://hg.mozilla.org/comm-central/rev/f8f17513802f
Mark credentials detail icons as decorative. r=aleca
https://hg.mozilla.org/comm-central/rev/41e572adc2f7
Keep remote account warning icons decorative. r=aleca
https://hg.mozilla.org/comm-central/rev/e7005cb429fc
Announce Account Hub validation errors. r=aleca
https://hg.mozilla.org/comm-central/rev/c53eab4a9ff5
Link the LDAP name field to its error message. r=aleca
https://hg.mozilla.org/comm-central/rev/b8bde5fabac7
Initialize the address book select-all state. r=aleca
https://hg.mozilla.org/comm-central/rev/ce18842618fe
Keep address book control references current. r=aleca
https://hg.mozilla.org/comm-central/rev/7691b49ae67a
Load Account Hub styles in component fixtures. r=aleca
https://hg.mozilla.org/comm-central/rev/96aa9891f116
Load missing fixture localization resources. r=aleca
https://hg.mozilla.org/comm-central/rev/9d7bf3fa8d85
Label helper-text fixture inputs. r=aleca
https://hg.mozilla.org/comm-central/rev/8ebda8f9e90c
Contain multiple step fixtures in a main landmark. r=aleca
https://hg.mozilla.org/comm-central/rev/d85a41ea1662
Test alternate email forms one at a time. r=aleca
https://hg.mozilla.org/comm-central/rev/6e6e1168246f
Scroll LDAP test controls into view. r=aleca
https://hg.mozilla.org/comm-central/rev/2203d32944e8
Click the native Exchange authentication select. r=aleca
https://hg.mozilla.org/comm-central/rev/f3cfed1a0d50
Accept already-hidden Exchange OAuth options. r=aleca
https://hg.mozilla.org/comm-central/rev/2cf8978a5e4d
Localize Exchange fixture header buttons. r=aleca

Status: NEW → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Regressions: 2094384
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: