-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
False Positive on Table scope? #4
Comments
Sorry for the delay in responding. |
I have encountered the same issue. I am using HTML5, the scope attribute is only being used on Moreover, when I remove the scope attributes entirely the error is no longer generated. This contradicts the expected behaviour, which is that not including the attributes should trigger the error. Error: Source:
|
@DrLongGhost @Lexanimus v2 is out. I believe that the updated version of Thanks for contribution. |
I can take a page which has zero warnings and then generate a warning by pasting in this HTML:
<table> <tr> <th scope="col">Foo</th> </tr> <tr> <td>Bar</td> </tr> </table>
This results in the following warning: "critical: scope attribute should be used correctly"
AFAICT, there is nothing wrong with how I am using scope in that markup -- scope="col" is valid in a TH and that is what the rule is checking. Except for some reason it is returning false somewhere along the line. I did see this closed issue on axe-core dequelabs/axe-core#244 but that issue pertains to not using an HTML 5 doctype, which I am using.
There's nothing wrong with my doctype and there's nothing wrong with my use of scope, unless I'm missing something.
When I use the Axe Chrome plugin-in, it does not complain about this rule.
The text was updated successfully, but these errors were encountered: