Skip to content

JSX-A11y Plugin Compatibility with WCAG 2.2 #1008

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

Closed
jashan777 opened this issue Aug 29, 2024 · 5 comments
Closed

JSX-A11y Plugin Compatibility with WCAG 2.2 #1008

jashan777 opened this issue Aug 29, 2024 · 5 comments

Comments

@jashan777
Copy link

Hello! I’m opening this issue to inquire about the compatibility of the current plugin rules with WCAG 2.2. Are there any plans to update the plugin to align with the WCAG 2.2 guidelines?

@ljharb
Copy link
Member

ljharb commented Aug 29, 2024

It just came out last October.

Any changes that are nonbreaking can be easily added. What new guidelines did you have in mind? I'm not seeing anything on https://dequeuniversity.com/resources/wcag-2.2/#:~:text=New%20Success%20Criterion-,Summary%20of%20Changes,was%20released%20in%20October%202023. that would or could be handled by linting.

@jashan777
Copy link
Author

thanks for such a speedy reply, I was looking at the rules documentation and the rules follow Wcag 2.1 Accessibility guidelines and there are some points I noticed (related to Wcag, in context to rules documentation)

  1. The jsx-a11y/scope rule: 4.1.1 Accessibility guidelines Parsing is obsolete and removed from WCAG 2.2.
  2. No other rule change.
    with the above points, is there a possibility that the plugin rules documentation can be updated to point to WCAG 2.2?

@ljharb
Copy link
Member

ljharb commented Aug 29, 2024

That doesn't mean the scope rule isn't useful - that WCAG no longer requires violating it to be a parsing error doesn't mean it's correct to violate it.

@jashan777
Copy link
Author

I’m completely with you on this—I was just bringing up the point with respect to WCAG 2.2 standards and not to question the value of the rule itself.

@ljharb
Copy link
Member

ljharb commented Aug 29, 2024

So, it sounds like there's nothing we need to do to be compliant with WCAG 2.2.

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

No branches or pull requests

2 participants