Hello!
I just realized a few minutes ago that we lacked a very important rule in our HTML codestyle. This rule would make sure we don’t regress on fundamental accessibility, and it also serves the progressive enhancement principles, SEO and overall code quality/readability. I propose to add it to our HTML & CSS Code Style:
Use semantic HTML.
Semantic HTML is one thing automatic accessibility tests can’t catch on, since they rely on the semantic basis to analyse the pages. If the fundations of the tests are rotten, they will not work properly and let plenty of accessibility mishaps go by unnoticed.
So far, this rule is respected on xwiki-platform
.
Do you agree with adding this rule to our HTML codestyle? Do you think it should redirect to another resource than the MDN Web docs definition of semantic HTML?
Thank you for taking the time to read this proposal,
Lucas C.