Ensuring Accessibility in HTML and CSS
Web accessibility is a broad set of guidelines, considerations, and best practices that we can apply to make sure we don’t put up barriers that stop those with disabilities from using web pages.
The web is an open platform, and we should strive to make its content accessible to as many people as we can. The web should work for everyone. As a web developer, this means we have a great responsibility to use the tools available to us to make accessible websites.
HTML has a lot of features that are designed to make web pages accessible and, in this chapter, we will look at several of these – image alt
attributes, form labels, and fieldsets, to name a few.
We will start by identifying some common issues that can cause web pages to become inaccessible. We will look at how a combination of thinking with an accessibility mindset from the outset of our project and using semantic HTML as intended will solve a lot of these issues.
...