Closed Bug 2020697 Opened 9 months ago Closed 8 months ago

Ensure about:translations Test Click Events are A11y Friendly

Categories

(Firefox :: Translations, task, P3)

task

Tracking

()

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

(Blocks 1 open bug)

Details

Attachments

(3 external files)

Description

Many of our test events for clicking buttons in about:translations use button.click().

We should make this more A11y friendly by testing synthesizing a real click, and also keyboard input with focus.

This commit renames test helpers that previously used the word
"click" to now use the word "invoke" in preparation to better
test accessible invocations in subsequent commits, including
mouse click actions and keyboard actions.

This commit refactors the way that UI visiblity is asserted throughout
the about:translations tests to better share infrastructure around
retrieving the expected visibility states.

This commit adds a specific test file that ensures keyboard actions
are tested for moz-button elements on the about:translations page.

Assignee: nobody → enordin
Attachment #9555326 - Attachment description: WIP: Bug 2020697 - Rename AboutTranslationsTestUtils click helpers r=sfoster! → Bug 2020697 - Rename AboutTranslationsTestUtils click helpers r=sfoster!
Status: NEW → ASSIGNED
Attachment #9555327 - Attachment description: WIP: Bug 2020697 - Refactor about:translations visibility assertions r=sfoster! → Bug 2020697 - Refactor about:translations visibility assertions r=sfoster!
Attachment #9555328 - Attachment description: WIP: Bug 2020697 - Add about:translations accessible invocation tests r=sfoster! → Bug 2020697 - Add about:translations accessible invocation tests r=sfoster!
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
QA Whiteboard: [qa-triage-done-c151/b150]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: