Open
Description
Hi! I've been wondering if there was ever a discussion about implementing a rule to warn about accessible queries use. Since I don't think it's really necessary to throw an error or do an autofix, a warning should be just fine. So we could get a warning to possibly refactor this
const loginButton = screen.getByTestId('login-button');
into this
const loginButton = screen.getByRole('button', { name: /login/i });
What do you think? :)