Closed
Bug 1269231
Opened 9 years ago
Closed 2 years ago
wrapped label not read by screen reader when input type is "number"
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
WORKSFORME
Accessibility Severity | s2 |
People
(Reporter: rjc, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: access)
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20160421124000
Steps to reproduce:
Label not read by screen reader.
```
<label>count: <input type="number"></label>
```
All types other than "number" work fine.
Regression: works in firefox 44.02 and before.
Actual results:
Screen reader does not read the label text of input controls with type number which is wrapped in a label element.
Expected results:
It should have read the label text.
Comment 1•9 years ago
|
||
I can confirm this in nightly. Alex, any ideas?
Comment 2•9 years ago
|
||
I think the bug is spinbutton accessible is not a widget (Accessilbe::IsWidget()), because containing label is ignored on non widgets (see HTMLLabelIterator::Next()). I suspect that it might be not the only one problem: input="type" is exposed as spinbutton with entry as a child, I guess the entry would need to inherit a name from its parent spinbutton to make a screen reader to pick it up.
The bug is needed a volunteer who's willing to play up with code a bit.
Flags: needinfo?(surkov.alexander)
Updated•3 years ago
|
Severity: normal → S3
Comment 3•2 years ago
|
||
In the current Nightly 120 with Win 11 NVDA 2023.2 reads the input as: count: spin button has auto complete editable blank
and the Accessibility Inspector is reporting label
parent for text leaf
and spinbutton
. Appears to be fixed with bug 1555551, thus closing as WFM.
If this is still not working as expected, please do reopen the bug and we'll investigate it.
Status: NEW → RESOLVED
Accessibility Severity: --- → s2
Closed: 2 years ago
Depends on: 1555551
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•