Text at the top reads “website testing using Lighthouse”. Image shows a transition from lower testing scores to higher testing scores across performance, accessibility, best practices, and SEO.

While building this website, I tested it for accessibility and performance - here’s what I found using axe DevTools and Lighthouse.

I found out about axe DevTools at the #MCRTechConnect recently, and wanted to try it out alongside Lighthouse to test for accessibility.

I ran the tests on each page of my website first using both tools, making notes of the corrections. I didn’t implement any corrections until after I had tested with both tools so I could compare the results fairly.

What the tests picked up & I fixed straight away:

Most of the above improvements were mistakes the tools helped me pick up which will ultimately make my website better for all users, not just disabled users.

A few items I chose to fix later, most of these impacted the performance slightly rather than accessibility:

There are also a few issues the tools picked up on that I knew I could ignore. For example, axe DevTools picked up on a script from Ghostery from the browser at my end.

A few pros and cons, bearing in mind I’m comparing the free versions of both tools:

Lighthouse:

✔️ Easy and intuitive to use
✔️ Shows test scores as a percentage for performance, accessibility, best practices, and SEO.
✔️ Can look at previous reports
✔️ Can choose to test for desktop vs mobile
✔️ Already installed in Chrome browser developer tools (hit Ctrl + I +Shift), minimal setup!
➖ Suggested solutions and reasons to make changes were less detailed than axe DevTools

Axe DevTools

✔️ Categorised issues into severity to help prioritise
✔️ Picked up on more issues than Lighthouse
✔️ More detailed solutions - this helped me decide how to solve issues
➖ Free version is more limited than Lighthouse and fewer options available

Overall, both tools were easy to use, and I definitely recommend testing with them or similar before launching a website.

The test scores in the image are for one of the article pages, and the results are similar across all the pages on the website, with variation for mobile.

I’m pleased with the result, but also am aware that it would be much more difficult to get a more complex website to a high accessibility score!