WDD 231: Web Frontend Development I

W03 Learning Activity: Web Accessibility

Overview

Web accessibility is the practice of making websites usable by people of all abilities, including those who have difficulty viewing a traditional screen or using a mouse. This learning activity focuses on the basics of web accessibility and the tools that are available to help create accessible websites.

Prepare

It is important to ensure that the user experience of your website works well for all of your users. This includes making sure that each image contains appropriate alt text and that there is enough contrast among the colors you use so the text can be easily read. You need to make sure the font sizes can be adjusted, interactive controls can be navigated using the keyboard, and that your page follows proper use of HTML tags such as the title, h1-h6 elements, header, nav, main, and so forth.

The DevTools Lighthouse report contains a number of checks in the Accessibility category to help you verify that your page is accessible. Lighthouse checks some of the following automatically. The rest you must check yourself.

Automated tools catch only part of the picture. Lighthouse cannot tell you whether the page is actually usable by someone with a disability, whether the content is understood, or what the user's experience is as they navigate and interact with the page and site. These aspects often require manual testing and feedback from users with disabilities to truly understand and improve accessibility.

Activity Instructions

  1. Open your course home page and navigate through it using only the keyboard (the Tab, Shift+Tab, and Enter keys). Note anything you cannot reach or cannot see focused.
  2. Use DevTools Lighthouse to run an accessibility audit of the page. It will provide a list of accessibility issues and offer suggestions for improvement.
  3. Fix at least one issue that you found.
  4. Post what you found and what you fixed in Microsoft Teams.

You should consistently be using tools like Lighthouse to analyze the pages you design and develop for areas of improvement including accessibility and performance. You are expected to do this and other testing on your individual website project(s) without being assigned to do so.

Optional Resources