WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: hreflang underestimated?

for

From: Patrick H. Lauke
Date: Feb 21, 2022 9:56AM


On 21/02/2022 16:43, <EMAIL REMOVED> wrote:
> Hi Patrick,
> I stumbled over the attribute in a .css, which was something like:
> a[hreflang="en"] {
> background-image: url('english_icon.png');
> padding-left: 30px;
> …
> }
>
> Then I tested with SR and wondered, why the attribute was ignored.
> So, the oddness was the other way round.

So based on the above, a failure of 1.1.1 on the part of the author.

> A visual hint might be a choice for browsers.
> But an interpretation for SR-users is a duty of the SR. “Link *German* Oh wie schön ist Panama”
> Compare *required*: It is announced by SR but needs a work around for sighted people.
> That's no argument against SR interpretation.

*shrug* well, if you can convince SR companies that there's value in
supporting/announcing this...cool. Probably as an option/setting. But
again, chicken and egg, as there's not much use out there in the wild
web for that attribute...

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