-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix: input label accessibility #1518
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does not work for any of oauth fields
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't forget about tests. Although, adding tests exactly for this is extra, I would just indirectly test it by simplifying existing tests and utilising semantic selectors
https://testing-library.com/docs/queries/about#priority
For example, FormModifications.test.tsx
may be simplified by using getByRole
instead of getTextElementForField
and getCheckBoxElementForField
Issue number: ADDON-68266
PR Type
What kind of change does this PR introduce?
Summary
Changes
Please provide a summary of the changes.
User experience
Please describe the user experience before and after this change. Screenshots are welcome for additional context.
Checklist
If an item doesn't apply to your changes, leave it unchecked.