Closed Bug 1876315 Opened 1 year ago Closed 1 year ago

Add ROLE_BUTTONMENU constant to mochitests

Categories

(Core :: Disability Access APIs, task, P3)

Desktop
macOS
task

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: ayeddi, Assigned: ayeddi)

References

Details

(Keywords: good-first-bug)

Attachments

(1 file)

Ensure controls with ROLE_BUTTONMENU like data:text/html,<button aria-haspopup="true">hi</button> can be tested with mochitests, i.e. in accessible/tests/browser/tree/browser_searchbar.js

Summary: Add ROLE_BUTTONMENU to mochitests → Add ROLE_BUTTONMENU constant to mochitests

This would allow browser test like accessible/tests/browser/tree/browser_searchbar.js to test accessible roles in the Accessibility tree for buttons with aria-haspopup attributes.

Depends on D199394

Assignee: nobody → ayeddi
Attachment #9376230 - Attachment description: WIP: Bug 1876315 - Adding a ROLE_BUTTONMENU constant to mochitest/role.js → Bug 1876315 - Adding a ROLE_BUTTONMENU constant to mochitest/role.js. r=morgan
Status: NEW → ASSIGNED
Attachment #9376230 - Attachment description: Bug 1876315 - Adding a ROLE_BUTTONMENU constant to mochitest/role.js. r=morgan → Bug 1876315 - Adding a ROLE_BUTTONMENU constant to mochitest/role.js. r=morgan!
Pushed by ayeddi@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6f3abf846e15 Adding a ROLE_BUTTONMENU constant to mochitest/role.js. r=morgan
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: