Testing accessibility with jest-axe
In this section, we will learn how to use a tool that is designed to help improve the accessibility of our features. There are many tools available that can help increase accessibility by automating the process of auditing and reporting issues, such as Wave (https://wave.webaim.org/) and Lighthouse (https://developers.google.com/web/tools/lighthouse). However, there is no single tool that can guarantee accessibility across an entire application. Accessibility auditing tools are helpful, but they do not replace the need for manual accessibility auditing done by a human. For example, when an abbreviation is used for the first time in a line of text, the related expanded version should be included:
Structured Query Language (SQL) is used to manage data in relational databases.
In the preceding sentence, the expanded version, Structured Query Language
, is included with its abbreviated form, SQL
. The sentence would need to be manually checked to...