Skip to content

A lighthouse audit that uses an ML model to determine if a link looks like a button

License

Notifications You must be signed in to change notification settings

PaulKinlan/is-it-a-button-lighthouse-audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Is it a button Lighthouse audit?

This is an experiemental Lighthouse Audit that will look at all the <a> elements on a page and try to determine if it looks like a button or not.

Learn more about why this is getting built.

Caveats

  1. The ML currently operates on a heavily compressed rendering of the page which the Model is not great at.
  2. There are some training issues with links that go over multiple lines.

How to use

lighthouse https://paul.kinlan.me/ --config-path=./audit/config.js --view

About

A lighthouse audit that uses an ML model to determine if a link looks like a button

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published