WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: hreflang underestimated?

for

From: wolfgang.berndorfer
Date: Feb 21, 2022 9:43AM


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.

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.

Wolfgang