WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Descriptive label for Read more button

for

From: wolfgang.berndorfer@zweiterblick.at
Date: May 10, 2023 5:55AM


What I meant:
ARIA-label and ARIA-labelledby do not set or reference to a LABEL.
They set a (accessible) NAME.
That is important to know for 2.5.3.
Sorry for confusing.

-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of glen walker
Sent: Tuesday, May 9, 2023 7:52 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Descriptive label for Read more button

I'm not sure I follow what that means.

aria-label is a text string
aria-labelledby is a list of IDs

Either can be used to set the "accessible name" of an element (among other ways to set the accessible name, as defined in "Accessible Name and Description Computation 1.1" at https://www.w3.org/TR/accname-1.1/#step2).

I think we might be saying the same thing?

On Tue, May 9, 2023 at 10:49 AM < <EMAIL REMOVED> > wrote:

> Thank you, Glen,
>
> What I learned besides for SC 2.5.3:
> "aria-label" means de facto "aria-name" and "aria-labelledby" means de
> facto "aria-namedby"!
>
> The labels of the ARIA-attributes won't be changed. But we have to
> keep their impact according to the accessible name in mind.
>
>
>