DEV Community

Cover image for Putting a Stop in Web Accessibility
Alvaro Montoro
Alvaro Montoro

Posted on • Updated on • Originally published at alvaromontoro.com

Putting a Stop in Web Accessibility

Imagine the Internet as a road. This shouldn't be difficult to imagine, considering it has been called the Information Superhighway. In this scenario: the network would be the road itself; websites would be cars; developers would be drivers; and Internet users would be pedestrians.

On this imaginary road, we have a busy intersection where people like to cross because they need to get from one side to the other. This is a problem. Many people will be able to make a run for it and get to the other side. Many others may struggle or get hit by a car. However, the majority will not risk it. They will wait, ultimately unable to cross at all.

Any person could be trapped on the wrong side of the road: young, old, people with disabilities, parents with children, the postman carrying a heavy bag of letters, an older person with a walker, the runner who is scared that an accident could end their Olympic dreams...

The town hall β€”which in this Internet scenario, would be the groups that write the web specifications for HTML, CSS, WCAG, etc.β€” sees the problem and decides to take action to solve it: they add a crosswalk. A feature that would make it easier for people to navigate through the intersection.

The crosswalk symbolizes any feature that makes the web easier for people: semantic tags, different color systems, ARIA attributes, a CSS property that helps layout content, WCAG, etc. You name it.

a crosswalk

Photo by Daryan Shamkhali on Unsplash
Β 

This is a great start. Many people feel safer now that there is a crosswalk where they need to cross the road. But there is still a problem: Many drivers don't know (or maybe don't want to know) what a crosswalk is. They will not yield or stop for pedestrians, who, in a good number, will still be stuck on one side, afraid to start walking on the road and find themselves surrounded by speeding cars that don't honor the crosswalk.

At this point, the government decides to take action. They add a stop sign next to the crosswalk and stricter requirements for what drivers must do when they approach a stop sign. This would be the equivalent of the government creating new laws and regulations (e.g., ADA, Section 508, EAA, etc.) to make developers follow the rules and create more accessible websites.

Now things are getting better. The number of drivers not stopping at the stop sign is considerably reduced, and pedestrians can cross the road. It is a nice ending to our story for everyone. (Spoiler alert: it is not.)

Web development and web accessibility can be like that road. We may ignore the crosswalk, but it still exists, and we may get a nasty ticket if caught. Making sites accessible is the right thing, but sometimes we can take it one step further. So far, most drivers follow the law, but that doesn't mean they do all they can. Their actions are limited to the bare minimum. They are checking some boxes that cover basic WCAG requirements. They may stop, let pedestrians cross, and then continue, but what happens when the person waits and doesn't (or can't) cross?

an older woman crossing a road at a crosswalk

Photo by Connor Houtman on Unsplash (cropped)
Β 

Young people, adults, parents with children... they can all cross the road, but do you remember that older person with a walker that we mentioned earlier? That person is still afraid to cross the street. They are worried they may slow down traffic, cause an accident, or don't know how a crosswalk works.

As developers/drivers, we have a choice. We drive around the person and go on our way or stop and help. This would translate into doing something more than just checking accessibility boxes. And it doesn't have to be something incredibly complicated: adding the right ARIA attributes for specific components, creating a keyboard-accessible tab panel, going for WCAG AA-level instead of A-level...

This may take a minute off our busy schedules, but it will make a huge difference for that person. Isn't that worth it?


Completely unrelated video of a man stopping to help an old lady cross a busy street ;)

Many developers may claim accessibility is not for them. After all, they are the drivers, not the pedestrians. But the reality is the opposite. We are not always drivers/developers. More often than not, we will be pedestrians/Internet users. And, even if no one wants to admit it, we will most likely go through all the scenarios of a pedestrian: young, old, brave, afraid... we will even be (figuratively or literally) that older person with a walker waiting for someone to stop and help.

So let's do that. Let's take web accessibility for the serious matter that it is. Let's look for the stop signs, watch out for any pot holes, and help make the road (and the Internet) a better place. For everyone.


Some resources to learn more about web accessibility and help with useful information:

  • The A11y Project: a community-driven website to make digital accessibility better. Tutorials, articles, resources...
  • WebAIM: Web Accessibility In Mind provides detailed articles, analysis, and accessibility services.
  • Knowbility: a non-profit organization that shares accessibility articles, organizes events and competitions.
  • Web Accessibility Initiative Tutorials: A series of practical and comprehensive tutorials from the W3C.

Thank you Cristian, Kris, Geefe, and Jacob, for your help reviewing and giving feedback on the draft.

Top comments (0)