-
Notifications
You must be signed in to change notification settings - Fork 312
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
HTML Validator does not allow role="presentation" or role="none" on SVG elements #1828
Comments
I think the upstream bug is validator/validator#1096 |
@nschonni |
Errors/warnings can be suppressed in https://github.com/w3c/aria-practices/blob/main/.vnurc. I'd probably point to the upstream tracking bug as a comment or point to this issue and leave it open till the upstream is fixed |
@nschonni Sorry I am not familiar with the VNU validator configuration, who can add the regex statement to allow the |
@nschonni |
I am trying to add role="presentation" or role="none" to the SVG elements in the Slider Thermostat example in pull #1755, and I am getting html linting errors that these roles are not allowed on the SVG element:
The same error is generated for
role=none
on the SVG element.The text was updated successfully, but these errors were encountered: