Description
Describe the feature you'd like:
In the light of projects like Reach UI and react-beautiful-dnd and others like them, that have a focus on accessibility, I was thinking that it could be useful to test that stuff in the Dom have some features that help with accessibility.
I'm not sure though, if it'd be enough to test for aria-
attributes with toHaveAttribute
, or if there's something else we could do with custom matchers that would help even more. It does not help that I my self am fairly new to being aware and worried about a11y in my apps (shame on me!) but I'm catching up, and wanted to raise the issue here in hope for others to chime in and determine if there could be something jest-dom could do about it.
Suggested implementation:
Not sure yet. Not even sure if it's needed and kind of matchers we would need.
Describe alternatives you've considered:
Not sure of any. If you know of any, let me know in the comments.
Teachability, Documentation, Adoption, Migration Strategy:
TODO