Why It's Important For Web Developers To Focus On Web Accessibility
Tags: a11y, webdev, beginners, html
Published: 2019-04-30 12:22:39

---
title: Why It's Important For Web Developers To Focus On Web Accessibility
published: true
description: Web accessibility gets overlooked way too often, mainly because developers don't get enough time to focus on it.But it's so important that we make the time to create accessible websites.
tags: #accessibility, #webdev, #beginners, #HTML
cover_image: https://cdn-images-1.medium.com/max/800/1*XDg6OQhldJX8VYkQUlLEKA.jpeg
---

The internet has been called "the great equalizer". People all over the world have access to information that was once limited only to those who could afford it. Now you can get a college quality education online for free. There is still more that we as web developers can to make the internet world even more of a level playing field. It involves accessibility for the people with disabilities.

## Accessibility

Web accessibility focuses on making the internet usable for everyone regardless of any disabilities they have. For example, some people are blind or have a really hard time seeing your website so they use screen readers or other devices. The effectiveness of some of these devices rely heavily upon he way a web page is laid out.

There are standards for web accessibility out there. The official one comes from the people at the W3C [https://www.w3.org/WAI/standards-guidelines/wcag/](https://www.w3.org/WAI/standards-guidelines/wcag/). The standards aren't particularly complicated, it's just that a lot of developers don't know about them or they have inherited older projects.

## How to make an accessible website

Making your web pages accessible is relatively easy to do. Most of it boils down to using the common best practices and paying attention to semantics. Since the HTML5 update, semantics have become more important in the role of accessibility. Elements such as main, section, and article are all interpreted differently on assistive devices.

These devices look for particular tags to identify the important content on the page , to decide where they should look for content, and how to present the content to the user. So if you are using multiple h1 tags on a page for formatting purposes, stop it. That's another element that assistive devices use to help figure out what the content of the page is about. It's also goes against the best practices.

Another really easy change to make is to add alternative text to all of your images and video and anything else that you need to physically see. If someone blind comes to your website and none of the images have alternative text, they miss out on some important information because a screen reader can't pronounce a picture. Add a few words that really describe the point of the picture or video so they can get a good idea of what the picture describes.

That leads to something else you can do for accessibility. Add captions or a transcript for any videos on your site. There are also hearing impaired people who would miss most of the value in a video if it doesn't have some kind of accompanying text.

Something else to consider is updating your website's navigation to use nav tags. This is helps disabled users find what they are looking for. Make sure your navigation makes sense by relating any subpages to the parent page. This helps users get some context for where they are on your website. It also helps assistive devices know where they should go once a user has finished a page.

A big thing you can do is build really good forms. Use labels, group inputs together if you need to. Make sure that people can tab through the inputs or that they can submit the form by pushing the enter key. The goal is to make it easier for people to be able to use regardless of what kind of device they are on.

## Why you should bother with accessibility

A hard truth is that a lot of web developers work under tight time constraints and most companies don't factor in time for semantic work. Including web accessibility in your design is going to take a little extra time, but it's not hard to do. Instead of using divs everywhere (which I’m guilty of sometimes too), go ahead and use the real semantic elements. It's what they were made for.

It is harder to update an older website to follow all of the accessibility standards, but make the changes when and where you can. For new websites though, you can start with the standards in mind. You'll need to account for accessibility in your design so that when it's time to write the code you aren't really surprised.

You spending the extra couple of hours on making your website more accessible could be the difference between thousands of people being able to find information they need. It sounds trivial at first, but imagine if you were running a business and it attracted a lot of visually impaired users. If your website isn't accessible, you just lost a potentially huge pool of customers.

On top of everything else, making your website accessible could make the difference between a kid learning about engineering options for college or deciding they can't do it. Web accessibility isn't *just* something web developers need to do. Web accessibility is what we need to make sure that the internet really can be the leveling field that will make a lot of lives better or at least slightly more entertaining.

I used to think that web accessibility updates took a lot of time until I started looking at the standards for myself. The standards really just force us to be more disciplined when we create websites and that's a good thing. It reinforces all of the best practices and it helps us think about how people will use the website.

Do you have any particular stories about web accessibility and how it changed the way you code?

-----

Hey! You should follow me on Twitter because reasons: https://twitter.com/FlippedCoding