bemto icon indicating copy to clipboard operation
bemto copied to clipboard

How to disable automatic attributes?

Open SilencerWeb opened this issue 8 years ago • 1 comments

Hi!

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

Validation

SilencerWeb avatar Mar 05 '18 09:03 SilencerWeb

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).

kizu avatar Mar 05 '18 10:03 kizu