Closed
Bug 1473237
Opened 7 years ago
Closed 6 years ago
<input type="number"> does not expose wrapped label as accName
Categories
(Core :: Disability Access APIs, defect, P3)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
People
(Reporter: Jamie, Unassigned)
References
Details
STR:
1. Open this URL:
data:text/html,<label>foo: <input type="number"></label>
2. Right click the input and select Inspect Accessibility Properties.
3. In the properties for the spin button accessible, examine the name.
Expected: "foo: "
Actual: null
This works if you associate the label using the "for" attribute:
data:text/html,<label for="input">foo: </label><input id="input" type="number"></label>
It also works if you use aria-label. So, there's something specific to the wrapped label here. Note that wrapped labels still work on <input type="text"> as expected.
| Reporter | ||
Comment 1•7 years ago
|
||
Originally reported as NVDA issue: https://github.com/nvaccess/nvda/issues/5917
| Reporter | ||
Comment 2•6 years ago
|
||
Fixed with bug 981248.
Comment 3•6 years ago
|
||
Yay :)
You need to log in
before you can comment on or make changes to this bug.
Description
•