UUI
UUI copied to clipboard
[RangeDatePicker]: labeled component does not have programmatically determinable name for announcement
Description
The programmatically determinable name for announcement is missing in the Labeled RangeDatePicker.
Precondition
The Screen Reader is turned ON.
Steps to Reproduce
- Open the Demo (Form) or create a RangeDatePicker wrapped by a LabeledInput with the
htmlForprop provided. - Use the 'T' key to navigate to the RangeDatePicker.
Actual Result
The label name is ignored.
Expected Result
When the combobox is focused, the visible label should be announced by the screen reader.
The failed WCAG Checkpoint is: 4.1.2 Name, Role, Value (Level A). For more information, visit: https://www.w3.org/WAI/WCAG21/Understanding/name-role-value.html.