dequelabs / dequelabs/axe-core

Rethink what axe does when context selectors don't match, or match inappropriate elements

Open
#3,806 0 comments 0 reactions 0 assignees View on GitHub
core feat
Dominant language
JavaScript
Stars
7.5k
Forks
933
Avg merge
2d 13h
Merged PRs (30d)
29

Description

Currently:

- If axe is passed an invalid selector, it defaults to test the entire page
- If passed a selector that doesn't match anything it throws
- If passed a frame selector that matches an element that isn't a frame, it logs

This is kind of inconsistent and confusing. I think axe should give devs better control of what to do when it encounters problems when building the context.

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.