Skip to content

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

3 participants