cds-snc / cra-claim-tax-benefits

A benefit signup prototype by the Canadian Digital Service
https://claim-tax-benefits.herokuapp.com/start
MIT License
4 stars 5 forks source link

Link text should include meaningful context #543

Open pcraig3 opened 4 years ago

pcraig3 commented 4 years ago

Hi @YedidaZalik,

Going through the app, I noticed a number of links that we should improve for screenreaders.

Screenreader users often skip from link to link, and Voiceover for Mac also can show a list of all links on the page. This means that someone reading a link won't necessarily see the sentence it's a part of.

This Webaim article on screenreader best practices is pretty good (and short).

Basically, the link should be enough context on its own that someone who clicks on it will know where they are going.

I've noticed that we could improve this in a few places:

For example, for this text (on the eligibility offramp page for too-high incomes)

Screen Shot 2020-03-02 at 1 18 26 PM

A screenreader will see this: Image from iOS (13)

current better
"Learn" "Learn if you can use a tax clinic"
"NETFILE" (This one is okay because the linked page is about Netfile)
"Learn" "Learn which certified NETFILE software is free"
"check" "check if you are eligible"

Usually, you just want the link text to be a phrase that's meaningful.

Other things we can do include