Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element specific rule disabling #158

Open
callumgare opened this issue Sep 13, 2021 · 0 comments
Open

Element specific rule disabling #158

callumgare opened this issue Sep 13, 2021 · 0 comments

Comments

@callumgare
Copy link

This is essentially the same request as #143. That issue was closed by the OP since since a workaround worked for them however I think there is still a lot of value that could be gained from allowing only disabling certain rules for certain elements.

For example we have a page heading that is placed on top of an image background which triggers WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.BgImage. Due to certain design restrictions we can't change that so we'd like to ignore the warning but we don't want to disable the rule entirely and potentially miss instances of that rule violation in other places which we can change, and we also don't want to disable all rules for that specific element and any of it's children since we don't want to miss any other violations that element or it's children might create in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant