-
Notifications
You must be signed in to change notification settings - Fork 79
Description
We have a bunch of rules that are essentially "WAI-ARIA spell checking rules":
- https://auto-wcag.github.io/auto-wcag/rules/SC4-1-1+SC4-1-2-aria-allowed-attribute.html
- https://auto-wcag.github.io/auto-wcag/rules/SC4-1-2-aria-attr-valid.html
- https://auto-wcag.github.io/auto-wcag/rules/SC4-1-2-aria-state-or-property-has-valid-value.html
- https://auto-wcag.github.io/auto-wcag/rules/SC4-1-2-role-attribute-has-valid-value.html
- https://auto-wcag.github.io/auto-wcag/rules/SC4-1-2-role-has-required-states-and-properties.html
- (https://auto-wcag.github.io/auto-wcag/rules/SC4-1-2-aria-hidden-focus.html)
They check if something that looks like WAI-ARIA is valid, based on the idea that the author has indicated that there is a need for some sort of accessibility fix, but since the WAI-ARIA is not valid, the accessibility need is still unmet.
However, these are only indications that there might be an accessibility issue, which has led to discussions on whether you can actually say that failing the rule means failing a WCAG success criterion.
It seems to me that we have other rules of the same type, where they are flagging something that might indicate an issue, and letting a user review if this means there is actually a real accessibility issue:
- SC1-1-1-placeholder-text-is-valid-accessible-name #251
- SC1-1-1-filename-is-valid-accessible-name #263
- New Rule: Links with identical accessible names serve equivalent purpose #220
I think all of these fall into a category of rules that are "indications of accessibility issues".
They are not best practices, they are indications that there is a high probably that there is an actual WCAG violation.
I think we need to decide on a consistent way of treating this type of issues.
My immediate suggestion would be to make them all semi-automated: targeting the potential issues in the Applicability and asking in the Expectation whether there is another fix in place to remediate the potential accessibility issue.
Other rules that might fall into the same category: