Skip to content

fix(aria-required-children): set related nodes for invalid children#4033

Merged
WilcoFiers merged 1 commit intodevelopfrom
related-virtual-nodes
May 24, 2023
Merged

fix(aria-required-children): set related nodes for invalid children#4033
WilcoFiers merged 1 commit intodevelopfrom
related-virtual-nodes

Conversation

@WilcoFiers
Copy link
Copy Markdown
Contributor

Ensure virtual nodes are accepted as related nodes. This prevented aria-required-children from reporting related nodes. I would've added a test to aria-required-children for related nodes, but it turned out it already has them. We just never noticed it wasn't working.

Closes: #4032

@WilcoFiers WilcoFiers requested a review from a team as a code owner May 23, 2023 14:11
true,
fixture.querySelector('b'),
'hello world',
new axe.SerialVirtualNode({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm glad you added this one. At first I thought it would go through so nice to see it in a test to ensure it doesn't.

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.

The aria-required-children rules should provide related nodes

2 participants