how can I connect a label to color-picker using "for" attribute? currently even though its linked, screen reader(accessibility) does not read the label for color-picker.
appreciate any help.
Veselin Tsvetanov
Telerik team
commented on 30 Sep 2021, 08:37 AM
Hi Ashutosh,
Here is a demo example demonstrating how a <label> element with for attribute could be used with the Kendo ColorPicker. As per the label announced by the screen readers, that would be taken from the aria-label attribute of the widget k-colorpicker <span> element. If you need to alter that value, you should use the ARIATemplate configuration option of the ColorPicker:
Hi Ashutosh,
Here is a demo example demonstrating how a <label> element with for attribute could be used with the Kendo ColorPicker. As per the label announced by the screen readers, that would be taken from the aria-label attribute of the widget k-colorpicker <span> element. If you need to alter that value, you should use the ARIATemplate configuration option of the ColorPicker:
https://dojo.telerik.com/IrEpegUf/2