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

[Tests] Add tests to reinforce required attributes for role="heading" #1022

Merged

Conversation

lb-
Copy link
Contributor

@lb- lb- commented Oct 23, 2024

Add unit tests to ensure that there are no warnings when role="heading" is used when aria-level is provided. For example, aria-label is not required.

See #1002

Add unit tests to ensure that there are no warnings when role="heading" is used when aria-level is provided. For example, aria-label is not required.
See jsx-eslint#1002
Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assuming tests pass

@ljharb ljharb force-pushed the fix/1002-aria-label-not-required-role-heading branch from 9d21c3e to d92446c Compare October 25, 2024 12:58
@ljharb ljharb changed the title [tests] Add tests to reinforce required attributes for role="heading" [Tests] Add tests to reinforce required attributes for role="heading" Oct 25, 2024
@ljharb ljharb merged commit d92446c into jsx-eslint:main Oct 25, 2024
112 checks passed
@lb- lb- deleted the fix/1002-aria-label-not-required-role-heading branch October 25, 2024 23:50
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

Successfully merging this pull request may close these issues.

3 participants