hypothesis / client

The Hypothesis web-based annotation client.
Other
636 stars 196 forks source link

Indicate links that open in new tabs to assistive technologies #6193

Open acelaya opened 7 months ago

acelaya commented 7 months ago

In the Help tab, links to Help Topics and New Support Ticket open in new windows but the link does not indicate this except visually (using an icon). This would be considered a violation of WCAG Success Criteria 3.2.5 (which was not evaluated in the VPAT as it as an AAA level SC).

Recommendations for links Adding visually-hidden text that says “opens in a new window” or something similar would properly support this success criterion. See: https://www.w3.org/WAI/WCAG21/Techniques/html/H83

acelaya commented 7 months ago

I'm not completely sure about this. It is a simple fix, but I would like to find a clear way to differentiate the "link text" from the "helper text".

If we add an sr-only element saying "opens in a new window", the screen reader reads the link text followed by that.