- From: Bryan Garaventa <bryan.garaventa@ssbbartgroup.com>
- Date: Thu, 29 May 2014 13:29:03 -0700
- To: "'James Craig'" <jcraig@apple.com>
- Cc: "'Alexander Surkov'" <surkov.alexander@gmail.com>, "'W3C WAI Protocols & Formats'" <public-pfwg@w3.org>
Interesting, so is this a bug on Windows then? I've verified the following using IE11 and the latest FF on Win7: * WebKit and UIA match: "foo, button" <div role="button"> foo </div> * WebKit and UIA match: "foo, button" <div role="button" aria-label="foo"> bar </div> * WebKit and UIA do not match: "foo, button" on WebKit, "foo bar, button" on UIA <div role="button"> foo <span aria-hidden="true"> bar </span> </div> * WebKit and UIA match: "foo, button" <button> foo </button> * WebKit and UIA match: "foo, button" <button aria-label="foo"> bar </button> * WebKit and UIA do not match: "foo, button" on WebKit, "foo bar, button" on UIA <button> foo <span aria-hidden="true"> bar </span> </button> -----Original Message----- From: James Craig [mailto:jcraig@apple.com] Sent: Thursday, May 29, 2014 12:48 PM To: Bryan Garaventa Cc: Alexander Surkov; W3C WAI Protocols & Formats Subject: Re: elements with presentational content I just verified all these examples work as expected ("foo, button") in WebKit+VoiceOver, too. <div role="button"> foo </div><br> <div role="button" aria-label="foo"> bar </div><br> <div role="button"> foo <span aria-hidden="true"> bar </span> </div><br> <button> foo </button><br> <button aria-label="foo"> bar </button><br> <button> foo <span aria-hidden="true"> bar </span> </button><br> On May 29, 2014, at 11:30 AM, Bryan Garaventa <bryan.garaventa@ssbbartgroup.com> wrote: > I think hidden content should not be included in the naming calculation, such as the following: > > <button> > Next > <span aria-hidden="true"> > >> > </span> > </button> > > The label should simply be "Next" and not "Next >>", as the UIA object now shows on Win7 as the button name in the accessibility tree, which looks like a bug.
Received on Thursday, 29 May 2014 20:29:43 UTC