Test accessibility using Lighthouse
You can use Lighthouse from within DevTools to audit the accessibility of a page and generate a report. You can use the Lighthouse tool to determine:
- Whether a page is properly marked up for screen readers.
- Whether the text elements on a page have sufficient contrast ratios using the Color Picker. For more information, navigate to Test text-color contrast using the Color Picker.
The Lighthouse tool provides links to content hosted on third-party websites. Microsoft is not responsible for and has no control over the content of these sites and any data that may be collected.
To audit a page using the Lighthouse tool, perform the following steps.
Navigate to the URL that you want to audit.
In DevTools, select the Lighthouse tool. Configuration options are displayed.
For Device, select Mobile if you want to simulate a mobile device. This option changes your user agent string and resizes the viewport. This option can affect the audit results.
In the Categories section, select Accessibility.
Select Generate report. After 10 to 30 seconds, DevTools displays a report. The report gives tips on how to improve the accessibility of the page.
Select an item in the report to learn more about it.
Select the Learn more link to view the documentation of the issue.
To return to the configuration options, in DevTools, select Perform an audit (
Getting in touch with the Microsoft Edge DevTools team
Use the following options to discuss the new features and changes in the post, or anything else related to DevTools.
- Send your feedback using the Send Feedback icon or select
I(Windows, Linux) or
I(macOS) in DevTools.
- Tweet at @EdgeDevTools.
- Submit a suggestion to The Web We Want.
- To file bugs about this article, use the following Feedback section.
Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons Attribution 4.0 International License.
The original page is found here and is authored by Kayce Basques (Technical Writer, Chrome DevTools & Lighthouse).
This work is licensed under a Creative Commons Attribution 4.0 International License.