WIP run tests against lighthouse 12 #142
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The point of this PR is:
The errors we fail with are:
So basically there has been some kind of change in accessibility criteria from lighthouse 11 to lighthouse 12 which reduces our the score for the same code. So I guess we either need to reduce the threshold for success, or do something that improves accessibility one way or another.
Release notes for lighthouse 12: https://github.com/GoogleChrome/lighthouse/releases/tag/v12.0.0
I'd guess one or more of the following is the reason for the change in score:
Probably need to dig into the JSON reports to see if I can get a bit more detail than "0.86 >= 0.9"
This is slightly complicated because although I have the tests running in CI I am unable to run them locally.
Anyway. I'm going to park this for the moment and proceed with #141 by pinning to lighthouse 11.x