- From: James Craig <jcraig@apple.com>
- Date: Thu, 29 May 2014 12:42:19 -0700
- To: Alexander Surkov <surkov.alexander@gmail.com>
- Cc: W3C WAI Protocols & Formats <public-pfwg@w3.org>
Yes, VoiceOver speaks "foo, button" in both of these examples, which I believe is according to spec. <div role="button"> foo </div> <div role="button" aria-label="foo"> bar </div> On May 29, 2014, at 12:15 PM, Alexander Surkov <surkov.alexander@gmail.com> wrote: > That example came to me from two different screen reader vendors so I assume if the button has children then they traverse them not taking into account accessible name. Do I understand right that VoiceOver never gets into button subtree if accessible name was provided? > > > On Thu, May 29, 2014 at 2:54 PM, James Craig <jcraig@apple.com> wrote: >> Doesn't this already do what you want without an additional attribute? >> >> <div role="button"> >> Non-presentational content (exposed to API) >> </div> >> >> <div role="button" aria-label="Non-presentational content (exposed to API)"> >> Presentational content (not exposed to API) >> </div> >>
Received on Thursday, 29 May 2014 19:42:47 UTC