WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Exposing the selected state of buttons

for

From: Patrick H. Lauke
Date: Nov 22, 2019 2:59AM


On 22/11/2019 09:58, Patrick H. Lauke wrote:
> On 22/11/2019 09:50, Sudheer Babu wrote:
> [...]
>> Now, please help me with the appropriate aria attributes to be used to
>> make
>> the screen reader announce the selected state of these buttons.
>
> aria-selected="true"
>

Actually, goodness...I need more coffee this morning.

aria-pressed="true"

--
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