Tech
TechTesting Library

Testing Library

EvergreenPublic
TestingAccessibilityDOM

testing-library.com

Its guiding principle — query by what is accessible — is an accessibility audit disguised as a test API. A component you cannot find by role or label in a test is one a screen reader cannot find either, which is why the queries are worth using even where a selector would be shorter.

  • a: Appearance
  • ?: Keyboard shortcuts