HTML a11y rules should be disabled by default #9209
oliversalzburg
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The a11y rules make a lot of assumptions about how the HTML is being used, that don't apply to my project. In fact, enforcing attributes on elements causes rendering differences in my result (because I'm printing the HTML, for example).
I guess this is fine, because the rules have a positive impact on the majority of projects, and I should just disable them, but I find this change particularly weird, because it enforces changes that impact my final artifact, not only the code that produces it. My expectation from code linting/formatting is that it has no impact on the runtime behavior of my product (except when it prevents me from making actual mistakes). So I would expect them to be disabled by default.
Beta Was this translation helpful? Give feedback.
All reactions