WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Descriptive label for Read more button

for

From: glen walker
Date: May 5, 2023 9:08PM


On Mon, May 1, 2023 at 8:40 AM < <EMAIL REMOVED> > wrote:

> Hi Glen,
>
> > I like to use aria-labelled by rather than aria-describedby so that if
> the screen reader user brings up a list of links or a list of buttons, the
> context of the "read more" will appear in that dialog.
>
> We have to be careful:
>
> The label “read more” won’t be part of the *technical* name referenced
> with aria-labelledby, independent of that being a person's name or
> something else.
> That would be a 2.5.3 fail.
>
>
No, it wouldn't be a failure. Aria-labelledby can have multiple IDs so it
would point to "read more" and the reviewers name so there is not a 2.5.3
issue and you have the benefit of the full link name in the link list
dailog.



> Or do you think about some scripting workaround, adding something to “Read
> more” in aria-label?
>
> No scripting is needed.