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

Allow specifying root selector/element for initial report #36

Open
sybers opened this issue Nov 23, 2020 · 0 comments · May be fixed by #59
Open

Allow specifying root selector/element for initial report #36

sybers opened this issue Nov 23, 2020 · 0 comments · May be fixed by #59

Comments

@sybers
Copy link

sybers commented Nov 23, 2020

Hello,

First thank you for your work with this plugin :)

I have a use case a bit specific which is to use vue-axe on a styleguide powered by vue-styleguidist.

Because vue-axe takes the document as root node for axe-core to perform it's initial report, it generates a11y violations for things from vue-styleguidist. It'd be nice to be able to customise the selector for the initial check (which could default to document for backward compatibility) so it only analyses my components.

Thanks!

@sybers sybers changed the title Allow specifying root selector/element initial report Allow specifying root selector/element for initial report Nov 25, 2020
jairovg added a commit to jairovg/vue-axe that referenced this issue Jul 8, 2022
This element will be used as the default context sent to `axe.run`

Fix: vue-a11y#36
@jairovg jairovg linked a pull request Jul 11, 2022 that will close this issue
8 tasks
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 a pull request may close this issue.

1 participant