WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: hreflang underestimated?

for

From: Patrick H. Lauke
Date: Feb 21, 2022 8:53AM


On 21/02/2022 15:01, <EMAIL REMOVED> wrote:
> SR seem to ignore the html attribute *hreflang*. (Tested JAWS and NVDA)
>
>
>
> hreflang gives a hint to the language of the resource in a link.
>
> https://html.spec.whatwg.org/#attr-hyperlink-hreflang
>
>
>
> IMO this hint would be small and fine for SR too:
>
> * Get immediate info, not frustration after clicking. (--> link
> purpose)
> * Get globally the same info, not depending on work arounds.

Note that it would be odd in this case to have SR users get more useful
info than non-SR users, as this could potentially benefit all users in
general, users with cognitive disabilities, etc.

> What do UAAG require from AT? Support each html attribute?

No, not really. See https://www.w3.org/TR/UAAG20/

Also, anecdotally, browser/AT companies don't really care much about
UAAG (and as there's no legal or legal-adjacent mandate for them to
follow it per se, the same way that WCAG has been included/referenced by
various pieces of legislation, they have little incentive to)

> What do you think about the relevance for users?

I think it would be a nice little piece of information for the browser
to surface to all users (not just SR users). But its real-world usage is
so low that I doubt they'll invest much time in implementing anything.
Chicken and egg. Might be relegated to something like a browser extension.

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