WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Descriptive label for Read more button

for

From: East, Robin
Date: May 8, 2023 8:05AM


Remember that aria is used to enhance an already accessible compliant page and should not be used to make a page compliant.

Robin and Dog guide Lumos


Robin East, CPACC



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

***ATTENTION***

This email originated from outside of the Government of Canada. Do not click links or open attachments unless you recognize the sender and believe the content is safe. For more information regarding reporting suspicious emails, please visit the KnowHow webpage: Suspicious emails - how to report<http://druid/KnowHow/sec-suseml-e.asp>;

Ce courriel provient de l'extérieur du Gouvernement du Canada. Ne cliquez pas sur les liens et n’ouvrez pas les pièces jointes, à moins de connaître l'expéditeur et croire que le contenu est sécuritaire. Pour de plus amples renseignements sur la façon de signaler les courriels suspects, veuillez consulter la page Web SavoirFaire: Courriels suspects – Comment signaler<http://druid/savoirfaire/sec-suseml-f.asp>;



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.