Replies: 1 comment 3 replies
-
As far as I can think, there is no way to achieve that now |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
Hi,
I am building a component, and from a user-facing perspective this components serves as a whole unit, so I want to assert exactly that. That when this component is read by screen readers it is read as 1 unit.
As a result I want to write a test to make sure that the rendered component has only 1 accessible element.
One idea I had is to get all accessible elements and make sure that the count is 1, but I am not sure how to do that. Can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions