--- url: "https://web.dev/learn/accessibility/test-automated" titulek: "Automated accessibility testing | web.dev" h1: "Automated accessibility testing Stay organized with collections Save and categorize content based on your preferences." popis: "How to perform automated accessibility testing." jazyk: "en" kanonicka: "https://web.dev/learn/accessibility/test-automated" drobecky: ["web.dev", "Resources", "Accessibility"] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-14 03:32:27" znaku: 16840 slov: 2440 kodovani: "iso-8859-2" sha256: "de66387019920fe37372e21ba04412207582686ace93b85fcc4cd6f55300f7f9" --- Automated accessibility testing Stay organized with collections Save and categorize content based on your preferences. So far in this course, you've learned about the individual, business, and legal aspects of digital accessibility, and the basics of digital accessibility conformance. You have explored specific topics related to inclusive design and coding, including when to use ARIA versus HTML, how to measure color contrast, when JavaScript is essential, amongst other topics. In the remaining modules, we shift gears from designing and building to testing for accessibility. We share a three-step testing process that includes automated, manual, and assistive technology testing tools and techniques. We'll use the same demo throughout these testing modules to progress the web page from inaccessible to accessible. Each test, automated, manual, and assistive technology, is critical to achieving the most accessible product possible. Our tests rely on the Web Content Accessibility Guidelines (WCAG) 2.1 [conformance level A and AA](https://www.w3.org/TR/WCAG22/#cc1) as our standards. Remember that your industry, product type, local and country laws and policies, or overall accessibility goals dictate which guidelines to follow and levels to meet. If you don't require a specific standard for your project, the recommendation is to follow the latest version of WCAG. Refer back to "[How is digital accessibility measured?](/learn/accessibility/measure)" for general information on accessibility audits, conformance types/levels, [WCAG](/learn/accessibility/glossary#wcag), and [POUR](/learn/accessibility/glossary#pour). As you now know, accessibility conformance is *not* the full story when it comes to supporting people with disabilities. But, it's a good starting point as it provides a metric you can test against. We encourage you to take the following actions in addition to conformance testing, to help you build more inclusive products: Run usability tests with people with disabilities. Hire people with disabilities to work on your team. Consult an individual or company with digital accessibility expertise. Automated testing basics Automated accessibility testing uses software to scan your digital product for accessibility issues against predefined accessibility conformance standards. Advantages of automated accessibility tests: Quickly repeat tests at different stages of the product lifecycle. Just a few steps to run and very quick results. Little accessibility knowledge is required to run the tests or understand the results. Disadvantages of automated accessibility tests: Automated tools don't catch all of the accessibility errors in your product Reported false positives (an issue is reported that isn't a true WCAG violation) Multiple tools may be needed for different product types and roles Automated testing is a great first step to check your website or app for accessibility, but not all checks can be automated. We'll go into more detail on how to check the accessibility of elements that cannot be automated in the [manual accessibility testing](/learn/accessibility/test-manual) module. Types of automated tools One of the first online automated accessibility testing tools was developed in 1996 by the Center for Applied Special Technology (CAST), called "[The Bobby Report](https://jimthatcher.com/bobbyeval.htm)." Today, there are [over 100 automated testing tools](https://www.w3.org/WAI/ER/tools/) to choose from! Automated tool implementation varies from accessibility browser extensions to code linters, desktop and mobile applications, online dashboards, and even open-source APIs you can use to build your own automated tooling. Which automated tool you decide to use can depend on many factors, including: Which conformance standards and levels are you testing against? This may include WCAG 2.2, WCAG 2.1, [U.S. Section 508](https://www.section508.gov/), or a modified list of accessibility rules. What type of digital product are you testing? This could be a website, web app, native mobile app, PDF, kiosk, or other product. What part of the software development lifecycle are you testing your product? How much time does it take to set up and use the tool? For an individual, team, or company? Who is conducting the test: designers, developers, QA, or someone else? How often do you want the accessibility to be checked? What details should be included in the report? Should issues be directly linked to a ticketing system? Which tools work best in your environment? For your team? There are many additional factors to consider as well. Check out WAI's article on "[Selecting Web Accessibility Evaluation Tools](https://www.w3.org/WAI/test-evaluate/tools/selecting/)" for more information on how to select the best tool for you and your team. Demo: Automated test For the automated accessibility testing demo, we'll be using Chrome's [Lighthouse](https://developer.chrome.com/docs/lighthouse/overview). Lighthouse is an open-source, automated tool created to improve the quality of web pages through different types of audits, such as performance, SEO, and accessibility. Our demo is a website built for a made-up organization, the Medical Mysteries Club. This site is intentionally made inaccessible for the demo. Some of this inaccessibility may be visible to you, and some (but not all) will be caught in our automated test. Step 1 Using your Chrome browser, install the [Lighthouse extension](https://chrome.google.com/webstore/detail/lighthouse/blipmdconlkpinefehnmjammfjpmpbjk). There are [many ways to integrate Lighthouse](https://github.com/GoogleChrome/lighthouse) into your testing workflow. We use the Chrome extension for this demo. Step 2 We built a [demo in CodePen](https://codepen.io/web-dot-dev/pen/yLqOaEP). View it in [debug mode](https://cdpn.io/pen/debug/yLqOaEP) to proceed with the next tests. This is important, as it removes the `