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

Fix S6793 for aria-haspopup property #293

Closed

Conversation

dougwaldron
Copy link

This PR fixes a false-positive for rule S6793: The HTML plugin returns a false-positive for the ARIA property aria-haspopup.

The aria-haspopup property allows the following token values: "false, true, menu, listbox, tree, grid, dialog". But if any value other than true or false is used, the following error is reported: The value of the attribute "aria-haspopup" must be a boolean.

See this post on Sonar Community for background.

This property should allow token values, not (just) boolean.
@ilia-kebets-sonarsource
Copy link
Contributor

fixed in #294

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