Dylan Gordon
Dylan Gordon
Agreed it is quite difficult to make sense of. I've interpreted those descriptions in the more abstract sense of input as in also emulating controls rather than only literal html...
I looked in to this a little bit and found it has to do with not getting the accessible name for the element, seemingly due to an issue with handling...
I dug in to this further and created several test cases below for [@testing-library/dom](https://github.com/testing-library/dom-testing-library) to `/src/__tests__/element-queries.js` Interestingly it was possible to get the element by labelText and then filter it...
Happy to help! yeah, not sure what the complete fix is exactly though and suspect the issue/fix may be in another dependency. Hopefully my investigation is useful and perhaps someone...
I believe I've traced it to the root cause of the issue and filed an issue on the dependency. https://github.com/eps1lon/dom-accessibility-api/issues/1018 It is unique to the `combobox` role when using `aria-labelledby`...
I realise I'm commenting on an old issue here but given the test would pass if provided the MatcherOptions to the getByText query I think this issue can be closed....