alfa-playwright: how do you check for all elements? #918
-
Hi, I'm trying to run playwright to check all elements for accessibility. I was able to run the sample code:
But I'd like to check all the elements in the website launch page. How would this be done? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
kasperisager
Sep 10, 2021
Replies: 1 comment 11 replies
-
Hi there and thanks for reaching out! The accessibility audit is run on the entire tree and so passing the root element is enough to ensure that all elements are tested. Are you not seeing the results you're expecting? |
Beta Was this translation helpful? Give feedback.
11 replies
Answer selected by
lovebes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi there and thanks for reaching out! The accessibility audit is run on the entire tree and so passing the root element is enough to ensure that all elements are tested. Are you not seeing the results you're expecting?