DEV Community

Discussion on: Data-QA Attribute! A better way to select elements for UI test automation

Collapse
 
kostadinmarinov profile image
Kostadin Marinov

If the web app is ARIA compliant, what do you think to use aria-label attribute for selectors instead of data-qa? Of course, the condition is that the QA tests are checking also the labels on the page.