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:
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 accesibilityYou can see similar problems discussed in the following links:
Deque University: Accessibility Rule - Ensure every form element has a label