Adding other types of element selector for a11y testing. #1492
lucadegasperi
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When doing accessibility testing with Playwright it is considered a best practice to target elements by their aria role (both implicit and explicit) instead of relying on classes or other selectors. For this playwright implements the getByRole, and other methods which Pest currently doest not support.
Beta Was this translation helpful? Give feedback.
All reactions