Closed
Bug 1858051
Opened 7 months ago
Closed 3 months ago
Fix ComputedARIARole for <input type="search"> (WPT html-aam/roles.html)
Categories
(Core :: Disability Access APIs, enhancement)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
124 Branch
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: Jamie, Assigned: nlapre)
References
(Blocks 3 open bugs)
Details
Attachments
(1 file)
For <input type="search">
, ComputedARIARole currently returns "textbox". It should return "searchbox". Fixing this will address the failing "el-input-search" test case in this WPT test.
There are two ways we could fix this:
- Add a special case for IsSearchbox() in ComputedARIARole(). In that case, we would probably remove the existing role="searchbox" special case.
- Add a dedicated Gecko role for searchbox, which would also allow us to remove the hard-coded role="searchbox" case from ComputedARIARole().
Assignee | ||
Comment 1•3 months ago
|
||
The markup <input type="search"> will report a ComputedARIARole of "textbox,"
which isn't correct - it should return "searchbox." To address this issue, this
revision implements a change to ComputedARIARole for searchboxes, checking
IsSearchbox() and returning the searchbox atom if so. This revision also enables
the previously expected-failure relevant web platform test, since we now pass it.
Updated•3 months ago
|
Assignee: nobody → nlapre
Status: NEW → ASSIGNED
Updated•3 months ago
|
Blocks: interop-2024-accessibility
Pushed by nlapre@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0c2e19189f1b Fix ComputedARIARole for <input type="search">, r=Jamie
Comment 3•3 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
status-firefox124:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•