Skip to content

NikelausM/accessibility-exercise

Repository files navigation

Accessibility logo.

Assessment: Accessibility Troubleshooting

Table of contents

Introduction

This is a repository of my (Jose Nicolas Mora) completion of the MDN Accessibility Troubleshooting Assessment.

In this project we are presented with a fictional nature site displaying an article about bears. The original webpage has multiple accessibility issues, and my task was to explore the existing site and fix several of them.

The website was tested for accessibility using the NVDA screenreader tool.

Check out my LinkedIn

Features

The accessibility improvements include:

  • Improved color contrast
    • I also added a better, more suitable color scheme.
  • More semantic html tags.
  • Skip to main content link.
  • More accessible images with alt text and figure tags.
  • Text representation of text file to make audio player more accessible to screenreader users.
  • The audio player is now more accessible to users that are using older browsers that dont support HTML5 audio.
  • The input element in the search form now has label only accessible to screenreaders.
  • The two elements in the comment form have better labels.
  • Show/hide comment control button is now key-board accessible.
  • Comments are tabbable to improve screenreader accessibility.
  • Table is now more accessible to screenreader users.
    • Data rows and columns are better associated.
    • Table summary was added.

Launch

The old webpage is located in the original-webpage-poor-accessibility folder. Open its index.html file to open it.

The new webpage is located in the improved-webpage-better-accessibility folder. Visit the deployed webpage, or open its index.html file to open it.

Screenshots

Old Webpage With Poor Accessibility

Screenshot of nature site showing the main header level 1, navbar, and the sections: 'The trouble with Bears', 'Types of bear', data table about bears, and first half of 'Habitats and Eating habits'. It also shows the 'Related' section showing a list of links to relevant articles. Screenshot of nature site showing the 'Habitats and Eating habits section. Screenshot of nature site showing the following sections: 'Mating rituals', audio player, 'About the author'. It also shows the hide comment button. Screenshot of nature site after pressing the 'Show comments' button, showing that the button now says 'Hide comments'. Below the button is the expanded 'Add comment' form, and the section showing the comments made. The screenshot also shows the footer.

New Webpage With Better Accessibility

Screenshot of nature site showing the main header level 1, navbar, and the sections: 'The trouble with Bears', and 'Types of bear'. It also shows the 'Related Articles' section showing a list of links to relevant articles. Screenshot of nature site showing the data table, and the first half of the 'Habitats and Eating habits' section, incuding an image of a brown bear in a river. Screenshot of nature site showing the second half of the 'Habitats and Eating habits' section including black and white image of a bear in a cage. Screenshot of nature site showing the following sections: 'Mating rituals section', audio player, 'Show transcript' button, 'About the author', 'show comments' button, and the footer. Screenshot of nature site after the 'Show transcript button' was pressed, showing that the button now says 'Hide transcript', and below the button is the transcript of the audio file. Screenshot of nature site after pressing the 'Show comments' button, showing that the button now says 'Hide comments'. Below the button is the expanded 'Add comment' form and the section showing the comments made. The screenshot also shows the footer

Technologies

About

Exercise to diagnose and fix accessibility issues of simple nature site.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors