E-mail List Archives
Re: data-content attribute
From: Patrick H. Lauke
Date: Apr 3, 2013 9:23AM
- Next message: James Bailey: "Seeking Contract Web Developers Fluent in Accessible (WCAG 2.0) Design"
- Previous message: Greg Gamble: "data-content attribute"
- Next message in Thread: None
- Previous message in Thread: Greg Gamble: "data-content attribute"
- View all messages in this Thread
On 03/04/2013 16:09, Greg Gamble wrote:
> Is the data-content attribute readable by screen readers? I using an information popover for password rules and the rules are in a data-content attribute. I have an aria-describedby in the password textbox and its pointing to the popover.
The data-content attribute on its own is not directly exposed to SRs, as
far as I'm aware, as it's just a custom attribute that can hold whatever
you want it to hold (it may be text, or it may be completely custom
stuff like hex values or binary data etc).
However, I'll assume that the popover is generated and that the end
result is actual HTML markup (a div, containing some text, etc). This
should be readable by screen readers. As long as those popovers are also
constantly present in the markup (e.g. they're generated at load time,
rather than only when needed/accessed), then the aria-describedby
pointing to them should be legit.
P
- Next message: James Bailey: "Seeking Contract Web Developers Fluent in Accessible (WCAG 2.0) Design"
- Previous message: Greg Gamble: "data-content attribute"
- Next message in Thread: None
- Previous message in Thread: Greg Gamble: "data-content attribute"
- View all messages in this Thread