Open
Bug 1269231
Opened 9 years ago
Updated 2 years ago
wrapped label not read by screen reader when input type is "number"
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
NEW
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•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•