dequelabs / dequelabs/axe-core

Enable DOM walking rules to run on VirtualNode

Open
#3,472 0 comments 1 reaction 0 assignees View on GitHub
performance rules virtual tree
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 23h
Merged PRs (30d)
17

Description

There are a number of rules largely focused on walking the DOM, either up to the root, or looking at child nodes. Where these rules can run on the virtual tree, we should have them do this, instead of having them go to the DOM some of the time, and virtual tree other times.

I think the following rules could be migrated to use VirtualNode almost exclusively. We'll need to make an exception for aria-owns.

- [ ] aria-required-children
- [ ] aria-required-parent
- [ ] definition-list
- [ ] dlitem
- [ ] list
- [ ] listitem
- [ ] landmark-banner-is-top-level
- [ ] landmark-complementary-is-top-level
- [ ] landmark-contentinfo-is-top-level
- [ ] landmark-main-is-top-level

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.