Skip to content
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: add aria labels to forms #2270

Merged
merged 1 commit into from
Apr 18, 2022
Merged

fix: add aria labels to forms #2270

merged 1 commit into from
Apr 18, 2022

Conversation

sweetkane
Copy link
Contributor

Closes #2137

Description

Add code to make all forms on page have an aria label equivelent to their placeholder text. This fix works as long as forms have descriptive placeholder text. There may still be more screen reader accessibility improvements to make in the future, but it looks like every component is properly labeled for screen reader use at the moment.

Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

Additional Information

Google Lighthouse accessibility rating before change

Lighthouse pre

Google Lighthouse accessibility rating after change

Lighthouse post

Copy link
Member

@liyasthomas liyasthomas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💯

@liyasthomas liyasthomas merged commit 100e562 into hoppscotch:main Apr 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: A lot of controls are not labeled for accessibility
2 participants