WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Button and textual equivalent

for

From: Patrick H. Lauke
Date: Dec 6, 2014 9:06AM


On 06/12/2014 15:52, Patrick H. Lauke wrote:

> NVDA, strangely, did not announce anything for me in Firefox, and in IE
> "button, search". Note that it seems IE does not correctly use/expose
> aria-label as the accName (tested using aViewer [1]), so this last
> result is likely due to NVDA doing some kind of remediation work and
> announcing the role and value of the control.

Ah, it seems the problem was when copy/pasting Lucy's code, I overlooked
the line break between

aria-label="search
button"

Removing this line break made NVDA/IE correctly announce "button, search
button" and IE expose "search button" as the accName.

(also, forgot to add the link to aViewer in my previous email:
http://www.paciellogroup.com/resources/aviewer/)

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke