RE: Appropriate use of aria labels

Okay fab, thanks Steve!

From: Steve Green <steve.green@testpartners.co.uk>
Sent: 08 April 2021 11:48
To: Louise Lister <Louise.Lister@iop.org>; w3c-wai-ig <w3c-wai-ig@w3.org>
Subject: RE: Appropriate use of aria labels

That approach will not work because you cannot use "aria-label" attributes on links. We recommend using hidden text instead. There are a number of ways of implementing hidden text, but most people use the CSS "clip" technique because it works with LTR and RTL languages. Floating the text and giving it a large negative left margin works fine for LTR languages, but cannot be used with RTL languages.

Steve Green
Managing Director
Test Partners Ltd


From: Louise Lister <Louise.Lister@iop.org<mailto:Louise.Lister@iop.org>>
Sent: 08 April 2021 11:28
To: w3c-wai-ig <w3c-wai-ig@w3.org<mailto:w3c-wai-ig@w3.org>>
Subject: Appropriate use of aria labels


Hi all,

Sorry I have another one!  I'll try and mute down a bit after this one as I already have a lot to mull over!

We have some links on our site that are repeated (like everyone else). In the two examples below, is the gold standard to have an aria label in the way described:


  1.  You have a category news page which aggregates text snippets next to a stack of 'read more' CTAs for different news pages sitting beneath it.  Here's instead of someone tabbing through and hearing 'read more, read more ...' for all the links, when you tabbed through you'd have an aria label that read out 'read more about 'headline of news article x', so you'd have something more descriptive for a screen reader?
  2.  You have side panel and header/footer items with repeated links such as privacy policy, or awards, or about. Here if the 1 to 2 word item is not obvious you would use a longer aria label to describe it. For example, 'read more about the history of organisation x'.

It's a bit easier with editorial content (in the body copy) because you can make the hyperlinks specific and descriptive.

With kind regards
Louise


________________________________
This email (and attachments) are confidential and intended for the addressee(s) only. If you are not the intended recipient please immediately notify the sender, permanently and securely delete any copies and do not take action with it or in reliance on it. Any views expressed are the author's and do not represent those of IOP, except where specifically stated. IOP takes reasonable precautions to protect against viruses but accepts no responsibility for loss or damage arising from virus infection. For the protection of IOP's systems and staff emails are scanned automatically..

Institute of Physics. Registered charity no. 293851 (England & Wales) and SCO40092 (Scotland)
Registered Office:  37 Caledonian Road, London, N1 9BU<https://gbr01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgoo.gl%2Fmaps%2FDUHbKcbzuUN2&data=04%7C01%7Clouise.lister%40iop.org%7C682f08c9ca6a446c0ca708d8fa7bb8f3%7C8b8986af18bb4882a149fa5a3dd1f995%7C0%7C0%7C637534756571878564%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=%2BreuPWf0drqAgQQiCSNX95uQ0XfUsRaXerLL9HUBj7U%3D&reserved=0>
Your privacy is important to us. For information about how IOP uses your personal data, please see our Privacy Policy<https://gbr01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.iop.org%2Fprivacy%2Findex.html&data=04%7C01%7Clouise.lister%40iop.org%7C682f08c9ca6a446c0ca708d8fa7bb8f3%7C8b8986af18bb4882a149fa5a3dd1f995%7C0%7C0%7C637534756571888558%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=QOpU4nBUlHB1UAhKAmcEK98CDKXFGsOdLgRIRIXq3ng%3D&reserved=0>
________________________________

This email (and attachments) are confidential and intended for the addressee(s) only. If you are not the intended recipient please notify the sender, 
delete any copies and do not take action in reliance on it. Any views expressed are the author's and do not represent those of IOP, except where specifically 
stated. IOP takes reasonable precautions to protect against viruses but accepts no responsibility for loss or damage arising from virus infection. 
For the protection of IOP's systems and staff emails are scanned automatically. 

Institute of Physics. Registered charity no. 293851 (England & Wales) and SCO40092 (Scotland)
Registered Office:  37 Caledonian Road, London, N1 9BU  

Received on Thursday, 8 April 2021 10:49:01 UTC