Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
aria-label, aria-labelledby and aria-describedby: very unforeseeable behaviour #5398
Reported by jmuheim on 2015-10-05 14:35
I have created a small codepen to demonstrate the issue (browse it using browse and focus mode):
For example, in NVDA, on the a element, the aria-label and aria-labelledby seem to work in both browse and focus mode. But aria-describedby is only announced in focus mode, not in browse mode.
For the input element, none of the attributes seem to work in browse mode, but all work in focus mode.
For "bare" text elements like p or div, none of the attributes seem to work.
In JAWS, it's quite similar behaviour, but at least for the p element, when there is an aria-describedby, it announces that a description can be read by pressing "JAWS + alt + r".
I don't really see a clear pattern for this, so I wonder what are the general rules in NVDA on how to use these attributes? Or better: why don't they simply work for every element, as the spec proposes?
Comment 1 by jteh on 2015-10-05 23:51