kobweb icon indicating copy to clipboard operation
kobweb copied to clipboard

Improve accesibility via adding aria-label to the switch input

Open carlosgub opened this issue 1 year ago • 0 comments

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

carlosgub avatar May 18 '24 04:05 carlosgub