Skip to content

Tip 27- writing that clicks

You might be familiar with the advice to not use ā€œClick here!ā€ as text for your links. This is an accessibility issue because the link text, available to readers through assistive technology, has no meaning out of context. It doesnā€™t tell them anything about what the link is, where it goes, or why they might click it.

Thatā€™s a great tip on its own! You should follow it! I donā€™t claim to be an accessibility expert though. So, I hesitate to give you accessibility tips. I can tell you why I donā€™t like using the word ā€œclickā€ as a writer, however, and thatā€™s where todayā€™s tip comes from!

If you participate in the Astro Discord, youā€™ll see someā€¦ interesting ā€œtyposā€ from me. Depending on the device Iā€™m posting from, I might be posting via stylus input, voice dictation, a trackpad, a mouse, or even my brand new little six-key USB micro shortcut keyboard with dedicated keys for cut, copy, paste, find, select all, and save.

If Iā€™m dictating posts into my phone, then youā€™ll see a lot of ā€œducksā€ and ā€œdocksā€ instead of ā€œdocs.ā€ If Iā€™m handwriting, then youā€™ll see ā€œdoesā€ (because handwriting keyboards favour the letters they think you wrote over autocorrect for sensible meaning). It is not safe to assume that Iā€™m ā€œclickingā€ anything!

And, with so many of our readers not just reading, but full-on programming, on mobile devices now (waves from 14ā€ Samsung Galaxy Tab S8 Ultra), you donā€™t know which physical actions your readers are actually performing. If your user isnā€™t ā€œclicking,ā€ then prompting them to ā€œclickā€ is inaccurate.

One PR suggestion I often make is to guide your reader through a UI (user interface) using the siteā€™s information hierarchy instead of assuming which input method theyā€™re using.

  • āœ… If you donā€™t have any API keys, create one by selecting **Add API key**.
  • šŸ˜ If you donā€™t have any API keys, create one by clicking in **Add API key**.

Full disclosure: Iā€™m as much ā€œthat readerā€ as I am ā€œthat writer.ā€ I will totally get taken out of the moment if you tell me to ā€œclickā€ when Iā€™m not actually clicking. I like to think this is what makes me a thoughtful and empathetic docs writer! (Hashtag-lies-we-tell-ourselves?)

Some of your readers are clicking, but some are tapping. Others are pressing. And if Iā€™m using your project? Hoo boyā€¦ all bets are off! šŸ˜…

Thereā€™s no guarantee I havenā€™t trained a crow to topple a set of dominoes that eventually sends an electrical pulse and updates my project settings. Decouple the physical action from the structural path you want your reader to take, because birds are smarter than you think!

Toggle Comments

Ā© 2021 - 2024 Sarah Rainsberger. Except where otherwise noted, and/or quoting external sources, the content of this site is licensed under CC BY-NC-SA 4.0