w3c / Mobile-Checker

The Mobile Checker is a tool for Web developers who want to make their Web page or Web app work better on mobile devices.
https://validator.w3.org/mobile-alpha/
MIT License
322 stars 84 forks source link

Provide hooks for giving contextual guidance #10

Open dontcallmedom opened 10 years ago

dontcallmedom commented 10 years ago

Beyond detecting well-identified errors or opportunities for improvements, it would be really nifty if the checker provided more open-ended guidance to its users when it detects some patterns in the code.

For instance:

Ideally, this contextual guidance would be easily added and removed from the checker, possibly from a community-maintained repository of hints. I would imagine it as a JSON file that lets one associate with some code patterns a resulting suggested hint.