[openstreetmap/openstreetmap-website] Accessibility issue: links "click here" (Issue #5431)

maro-21 notifications at github.com
Fri Dec 20 19:28:46 UTC 2024


Copy from [Translatewiki](https://translatewiki.net/w/i.php?title=Translating_talk:OpenStreetMap&oldid=12791558#Accessibility_issue:_Osm:Confirmations.confirm.click_here/en,_Osm:Confirmations.confirm.resend_html/en):

The current message text is:

* **Confirmations.confirm.resend html**: <code>If you need us to resend the confirmation email, %{reconfirm_link}.</code>
* **Confirmations.confirm.click here**: <code>click here</code>

For accessibility, “click here” should never be a link text, because the link text should always describe the link. A more accessible version of these messages would be:

* **Confirmations.confirm.resend html**: <code>If needed, we can %{reconfirm_link} to you.</code>
* **Confirmations.confirm.click here**: <code>resend the confirmation email</code>

[Rationale from the W3C](https://www.w3.org/TR/WCAG20-TECHS/F84.html): _Many blind people who use screen readers call up a dialog box that has a list of links from the page. They use this list of links to decide where they will go. But if many of the links in that list simply say "click here" or "more" they will be unable to use this feature in their screen reader, which is a core navigation strategy. That's why it's a failure of 2.4.9 to not provide any way of allowing them to know the destination from the link text alone. It is also true for people who tab through links. If all they hear as they tab through the document is "click here, click here, click here etc." they will become confused._

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5431
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/5431 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241220/d9b09b74/attachment.htm>


More information about the rails-dev mailing list