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

Contradicting linting issue with jsx-a11y/role-supports-aria-props #704

Closed
miyagiborn opened this issue Jun 19, 2020 · 4 comments · Fixed by #705 or A11yance/aria-query#63
Closed
Assignees

Comments

@miyagiborn
Copy link

miyagiborn commented Jun 19, 2020

Since the latest update, getting linting issue:

Elements with the ARIA role "heading" must have the following attributes defined: aria-level jsx-a11y/role-has-required-aria-props

After adding the aria-level, getting a contradicting error:

The attribute aria-level is not supported by the role heading jsx-a11y/role-supports-aria-props

@andeykovayov
Copy link

Have exactly the same issue!
Thanks @leducquan

@jessebeach
Copy link
Collaborator

I know exactly why this is happening :/

Fixing it now.

@jessebeach
Copy link
Collaborator

jessebeach closed this in A11yance/aria-query#63 11 minutes ago

Github has started auto-closing linked issues?

@jessebeach jessebeach reopened this Jun 19, 2020
@ljharb
Copy link
Member

ljharb commented Jun 19, 2020

When the merger has close rights on the linked issue, it's always auto-closed it afaik.

jessebeach added a commit that referenced this issue Jun 19, 2020
Fix aria-level error for the heading role (#704)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants