Lint warnings for web content developers/authors
See original GitHub issueAs suggested in 6ac112db998aaae568aaf0b47de2c6f7f9512b92, would it be helpful to emit warnings when invalid things such as aria-labelledby=""
are encountered?
- Should it just do it, or should this be a separate mode?
- If the error has already been reported, should it be reported again (e.g. during a scan after a mutation)? (Probably not—could flag the first scan? But then that might miss the error, as it could be added by a mutation, so should a record of the errors be kept?)
Update (2019/08/11): I’m leaning towards it always linting, and exposing some icons in the pop-up at least (maybe even a flag on the icon?) In order to stop repeated results, it could take note of the selector computed for an element, as this should remain constant across certain page changes.
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Generated Content has Lint Issues #4824 - GitHub
Problem When running yarn rw g scaffold it creates a bunch of lint errors/warnings.
Read more >Web Developer Life Hack: Lint Everything - LinkedIn
Linters detect issues ranging from those with simple fixes like improper indentation to potentially buggy or error-prone sections found through ...
Read more >Linters aren't in your way. They're on your side
Traditionally, linters make sure your code is clean and easy for teammates to read. They check for errors, bugs, style, and more.
Read more >KB40500: "Export aborted because fatal lint errors were found ...
When developers try to create the APK used to distribute and install MicroStrategy Mobile's Android application, Lint errors may occur ...
Read more >Web Accessibility Evaluation Tools List - W3C
WCAG 2.0 — W3C Web Content Accessibility Guidelines 2.0 (139 tools) ... This CSS file intends to warn developers about possible risks and...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Absolutely, flag lack of a main region, mostly because main is the most important landmark, but also if there’s, say, a header and a footer and no main, then there must be a big chunk of:
One exception that I noticed was google, which has only a single “search” landmark, and no main… which kind of makes sense… (nothing else on the page is in a landmark, but it’s a very sparse page)
Finally started to address this, with just one simple check, in #410 😃.