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)

defect

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.
Originally reported as NVDA issue: https://github.com/nvaccess/nvda/issues/5917

Fixed with bug 981248.

Status: NEW → RESOLVED
Closed: 6 years ago
Depends on: 981248
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.