What is the scoring formula for Lighthouse accessibility audit?

611 views Asked by At

I am using Lighthouse to perform some assessment of an Angular/Node/ionic mobile app. I am achieving 81% - 94% scores. However, I don't know the score is computed. I want to use the score to determine the level of effort to improve the code by the 6% - 19%.

Is it weighted? Is it per audit with a binary pass/fail? How many audit criteria are possible? etc.

1

There are 1 answers

2
Adam On

The scoring is done by computing the weighted-average of the score of the list items.

Those scores can be customized within your configuration.

By default, they appear in Lighthouse default config file and have all the same weight. So it should be the same as the percentage of positive tests.

The score includes all tests (35 in the current version) while you might only see in the result the applicable tests.