WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Switch Control Focus issues


From: Birkir R. Gunnarsson
Date: Nov 13, 2021 8:35AM

Oh, whoops, I missed that (this is why I use a braille display for
work, it's so easy to miss out on things like single letters when
listening to code).

It's quite a hack, probably overkill, but you could try adding
aria-label="large" to the link (it should override all text inside the
link and may override the 2-element presentation).

On 11/13/21, Patrick H. Lauke < <EMAIL REMOVED> > wrote:
> On 13/11/2021 15:05, Birkir R. Gunnarsson wrote:
>> Technically you don't need aria-hidden="true" or role="presentation"
>> on the <span> (unless it has a CSS:content attribute with text). What
>> happens if you leave both of those out?
> Looking at the code in the OP, there is a capital letter "L" in that
> span, so yes it's needed just now.
> <span aria-hidden="true" class="...">L</span>
> P
> --
> Patrick H. Lauke
> https://www.splintered.co.uk/ | https://github.com/patrickhlauke
> https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
> twitter: @patrick_h_lauke | skype: patrick_h_lauke
> > > > >

Work hard. Have fun. Make history.