WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Screen reader testing on language switching components.

for

From: Steve Green
Date: Apr 28, 2025 10:37AM


Why would you add the "aria-label" attributes at step 3? If I understand what you are saying, if the current page is in English, the link to the German version would have the visible text "Deutsch" but it would have the attributes aria-label="German" and lang="de". If that's what you mean, it would fail SC 2.5.3 (Label In Name) and a screen reader would say "German" in a German accent.

Steve