WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is ARIA required to conform to WCAG?

for

From: Birkir R. Gunnarsson
Date: Mar 26, 2023 11:02AM


aria-label is useful on links or buttons that are visually labeled by
icons (e.g. links to social media or buttons labeled with symbols,
like the search button or close button). aria-label is an easy way to
provide a screen reader / assistive technology label for those.
When a link already has sufficien text aria-label is redundant. Even
if the text is insufficient there are other ways, e.g. adding visually
hidden text, to achieve the purpose without aria. You could use
aria-label but then you have to take great care that the aria-label
value includes the visible text.
e.g.
<a href="http://www.google." aria-label="Google">Click here</a> is
invalid use of aria-label, but
<a href="http://www.google.com" aria-label="Click ehre to visit
Google">Click here</a> is acceptable.


On 3/26/23, L Snider < <EMAIL REMOVED> > wrote:
> I just saw a webpage that used aria labels on links, that in my view made
> the accessible simple links way, way less accessible. ARIA landmarks are
> used by screen reader users I know, and anything dynamic or changing, or
> links that can't be given text. I see the overuse of ARIA a lot, especially
> by those who didn't design in the HTML only days! Just my experience with
> these ones...
>
> On Sun, Mar 26, 2023 at 12:54 PM Karen McCall < <EMAIL REMOVED> > wrote:
>
>> Thank you all!
>>
>> This is why I value participating in this list. I get great answers and
>> examples for questions I ask!
>>
>> Cheers, Karen
>>
>>