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

How to disable automatic attributes? #94

Open
SilencerWeb opened this issue Mar 5, 2018 · 1 comment
Open

How to disable automatic attributes? #94

SilencerWeb opened this issue Mar 5, 2018 · 1 comment

Comments

@SilencerWeb
Copy link

Hi!

I have a problem with automatic attributes, validator warnings on role="main" for tag main. How can I disable automatic attributes?

Validation

@kizu
Copy link
Owner

kizu commented Mar 5, 2018

There is no way to disable it now, PR fixing this would be welcome (best way would be to not check !attributes.role, but to check if its !== undefined, allowing values like false or null, so you would have a way to override this kind of attributes right on the tag you want).

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

2 participants