DavidAnson / check-pages

Checks various aspects of a web page for correctness.
MIT License
11 stars 6 forks source link

Consider a rule to check that expected attributes are present for HTML elements #5

Open DavidAnson opened 8 years ago

DavidAnson commented 8 years ago

For example, a should have href or img should have src. See #4 for the motivating scenario.

alajmo commented 8 years ago

You could use something like htmlParser, wc3 Validator to check correctness. Just like images often should have alt attribute.