You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See this related issue about color contrast which is the motivation behind this issue: #22
As a habit, I periodically check webapps I develop with Chrome Devtool's built-in Lighthouse checks. However, I've never tried running Lighthouse in an automatic fashion, and exhaustively for every page. I'd like to at least try it in this app.
Export paths from the axe test, and re-use it for the lighthouse test
Choose some sensible thresholds for the lighthouse tests (90 for accessibility, 80 for performance, etc).
Configure Lighthouse to use the "experimental APCA" option, assuming that option exists in the package as it does in Chrome Devtools:
Reconfigure Playwright to run a production build of the web app instead of a development build, because things in the dev build like HMR penalize Lighthouse scores like performance.
Note that this would not be a replacement for the Axe Core testing that is already in place: GoogleChrome/lighthouse#15215
If I had to only pick one, Axe Core is much more useful.
The text was updated successfully, but these errors were encountered:
See this related issue about color contrast which is the motivation behind this issue:
#22
As a habit, I periodically check webapps I develop with Chrome Devtool's built-in Lighthouse checks. However, I've never tried running Lighthouse in an automatic fashion, and exhaustively for every page. I'd like to at least try it in this app.
Here is the package we'd most likely use:
https://www.npmjs.com/package/playwright-lighthouse
Some notes/guidelines:
accessibility.spec.ts
toaxe.spec.ts
lighthouse.spec.ts
next to itpaths
from the axe test, and re-use it for the lighthouse testNote that this would not be a replacement for the Axe Core testing that is already in place:
GoogleChrome/lighthouse#15215
If I had to only pick one, Axe Core is much more useful.
The text was updated successfully, but these errors were encountered: