Skip to main content

Accessibility, explained.

Published 2021/03/23 16:33

So let's say you’re browsing the web, reading articles on the latest news. An article catches your eye so you open the page to read it. You love the article, so much so that you decided to share it with your good friend.

You send it over but a thought keeps lingering in your head: "my friend is blind, how is she going to read the article?" Nevertheless, she sends back that she loved the article and said thank you. But how?

Reading for you is a visual experience. You see the letters as you read through articles. How does your friend do it?

The reason your friend can read articles is because she has a piece of software on her computer which reads webpages aloud to her, and the developers of the website have made sure the content is read by the software correctly.

In other words, the developers built the website with accessibility in mind.

Web Accessibility is the practice of being inclusive to all your users, including those who don’t experience the web the same way you do. Considering the experience of visually impaired users is only one aspect of accessibility

Consider this: you’re watching a video on YouTube and found it funny so you decide to send it to a friend who is deaf. How will he be able to enjoy the video, since for you, watching a video is an audiovisual experience?

If you thought of subtitles then you’re right. Video creators with accessibility in mind, include closed caption subtitles for their hearing impaired viewers.

Of course there's more to it:

  • Making sure the colours of text and their background have sufficient contrast for visual impaired users

  • Reduce unnecessary transitions and animations for visitors with vestibular motion disorders

So what simple things can you do to be more inclusive in your projects?

  • Use semantic HTML like <header>, <nav> and <main> instead of just <div>s

  • Include labels in your images so screen readers can describe them to their users

  • Make sure text and its background has sufficient contrast

  • Reduce unnecessary animation, transitions and unexpected behaviour as much as possible.

Being accessible should be at the core of your development, not just an additional feature as an afterthought.

To learn more visit these links:

  • A11y Project

  • MDN - Accessibility

Dev, Explained (43 part series)

  1. Javascript Scopes, explained.
  2. Javascript Promises, explained.
  3. Accessibility, explained.
  4. React, explained
  5. Should I use forEach() or map()?
  6. Should I use Flexbox or CSS Grid?
  7. Docker, explained.
  8. Unit testing, explained
  9. Git, explained.
  10. Typescript, explained.
  11. async/await, explained.
  12. The DOM, explained.
  13. Regular expressions, explained
  14. GraphQL, explained.
  15. Vue, explained.
  16. Svelte, explained.
  17. API, explained.
  18. Javascript Hoisting, explained.
  19. Immediately Invoked Function Expressions (IIFE), explained.
  20. ARIA roles, explained.
  21. Test-driven Development, explained.
  22. ARIA live regions, explained.
  23. aria-label in accessibility, explained.
  24. Type coercion in Javascript, explained.
  25. Variables, explained.
  26. if statements, explained.
  27. Arrays, explained.
  28. Currying in Javascript, explained.
  29. Memoization, explained.
  30. For loops, explained.
  31. Javascript Prototypes, explained.
  32. React Hooks, explained.
  33. Graph databases, explained.
  34. MongoDB, explained.
  35. Serverless, explained.
  36. Javascript Callback functions, explained.
  37. HTML, explained.
  38. CSS, explained.
  39. Responsive design, explained.
  40. Javascript, explained.
  41. The CSS Box Model, explained.
  42. CSS Flexbox, explained.
  43. CSS Grid, explained.
2022 Savvas Stephanides
Buy me a coffee
Some icons from Freepik