Test IDs are an a11y smell

https://tkdodo.eu/blog/test-ids-are-an-a11y-smell

I’ve come across a lot of articles lately claiming that using data-testid is the best way to define selectors in your tests. Apparently, they simplify element selection, ensure maintainability and stability and decouple your tests from UI changes.

I couldn’t disagree more.

1 points · 0 comments · view on lemmy.world

0 Comments

No comments yet.