WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [External Sender][EXTERNAL]Linking article previews

for

From: Mark Magennis
Date: Jul 22, 2019 9:11AM


No reason why not. The title would be read twice though. Once as the link text and once as itself. You could add aria-hidden to the title to prevent that. You could even use aria-labelledby instead of aria-label because it's a bit more elegant and I think it will still work even when it's pointing at a hidden element.

You would have to test this across all your supported browser/screen reader combinations though because it's possible that you might find a combination that doesn't like something in it, e.g. an aria-label on a div even if it has a link role.

Mark

Mark Magennis
Skillsoft | mobile: +353 87 60 60 162
Accessibility Specialist