Ticket #1650 (new defect)
NVDA repeats input label text
| Reported by: | stevefaulkner | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | near-term |
| Component: | Core | Version: | 2011.2beta2 |
| Keywords: | Cc: | gary_neier@yahoo.com, gneier@ebay.com | |
| Operating system: | Windows Vista | Blocked by: | |
| Blocking: |
Description
when an author codes a HTML label element in certain ways NVDA announces the label text twice when an input receives focus.
I have provided test cases and results here:
http://www.html5accessibility.com/tests/form-labels.html
Change History
comment:3 follow-up: ↓ 4 Changed 8 months ago by jteh
- Milestone set to 2011.3
For Firefox, this is partially due to MozillaBug:669312.
There are two other problems here:
- We're reading labels in the focus ancestry. Mick, is there a reason for this? I can't think of one. It might be because we're just relying on presentationType and we want labels to be content if they are leaf nodes. In that case, we should check childCount or make a special case in isPresentableFocusAncestor.
- In IE, labels seem to have a role of text instead of label. If we can fix this, (1) will apply to IE as well.
comment:4 in reply to: ↑ 3 Changed 6 months ago by jteh
Replying to jteh:
For Firefox, this is partially due to MozillaBug:669312.
MozillaBug:682790 is now the relevant bug. The other was closed as a duplicate.
comment:5 Changed 5 months ago by mdcurran
- Milestone changed from 2011.3 to near-term
Partial fix in changeset:main,4663. Label elements are no longer spoken in both IE and Firefox when focus moves to a control inside of them. Remaining issue of Firefox showing duplicated label in accName must be fixed in Gecko.

