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

Improve accesibility via adding aria-label to the switch input #538

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

carlosgub
Copy link

This pull request addresses an accessibility issue identified using the Lighthouse tool. The problem occurs due to the Switch Component lacking a proper label that describes the input used as a switch.

To resolve this, I added the modifier arialLabel to the Input Component. This solution I get it from here aria-label accesibility

You can see similar problems discussed in the following links:

Deque University: Accessibility Rule - Ensure every form element has a label

@bitspittle bitspittle force-pushed the main branch 2 times, most recently from cce8758 to 7215db3 Compare May 20, 2024 16:05
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.

None yet

2 participants