Skip to content

lloydi/Diagnostic-CSS-files

Repository files navigation

Diagnostic CSS Files

Reveal Roles

As inspired by Steve Faulkner's short article HTML Developers: Please Consider – in the year of 2021, this CSS is a diagnostic file that aims to highlight HTML elements that have roles that should probably be native HTML equivalents (indicated in red with 🚨 symbol) or native HTML elements that probably don't need a role attribute (indicated in orange with ⚠️ symbol).

You can use the test markup page to verify this is working as it should.

Gmail interface with nonsemantic elements that have role attributes

Structure Outliner

Indicates key structural elements of a page, such as headings, lists, landmarks.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published