Following the guiding principles of the testing library, your tests should resemble how your users interact with your code. This mindset also applies to your queries. Each query can be customized from an accessibility perspective.
In this lesson, we will look at one of the queries that are part of the queries accessible to everyone's family and the one you should always start with: the byRole query.
The reason why you should always start with this query is that this query allows you to query for elements that are exposed in the accessibility tree and will help you find accessibility issues early on in your code!