getByRole should be able to understand superclass hierarchies such as:
input [abstract, debatable whether this should be queryable?]
checkbox
switch (should be able to get switch by switch, checkbox, or input)
option
radio
slider
spinbutton
textbox
Looks related to #446
Not sure whether to label this as a bug or enhancement, but either way, this would be great :)
Actually, I feel like this should be something that aria-query or dom-accessibility-api should handle 馃
It's definitely an enhancement though :)
Sounds like aria-query provides this functionality
If it sounds good to all of you, I could try to make this enhancement!
That sounds great to me @delca85!
We've decided to not implement this.