Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

update rule: react-a11y-role-supports-aria-props - Do not check custom element #296

Closed
ipip2005 opened this issue Oct 20, 2016 · 1 comment · Fixed by #297
Closed

update rule: react-a11y-role-supports-aria-props - Do not check custom element #296

ipip2005 opened this issue Oct 20, 2016 · 1 comment · Fixed by #297
Milestone

Comments

@ipip2005
Copy link
Collaborator

ipip2005 commented Oct 20, 2016

For example I have a custom element excepts React.HTMLProps
<TextField aria-required={true} />
The rule will fail because custom element has no role. Should skip custom rule for all these cases. Including other rules

@ipip2005
Copy link
Collaborator Author

Currently fixing...

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

Successfully merging a pull request may close this issue.

2 participants