UUI icon indicating copy to clipboard operation
UUI copied to clipboard

[RangeDatePicker]: labeled component does not have programmatically determinable name for announcement

Open mari-shakhanava opened this issue 1 year ago • 0 comments

Description

The programmatically determinable name for announcement is missing in the Labeled RangeDatePicker.

Precondition

The Screen Reader is turned ON.

Steps to Reproduce

  1. Open the Demo (Form) or create a RangeDatePicker wrapped by a LabeledInput with the htmlFor prop provided.
  2. Use the 'T' key to navigate to the RangeDatePicker.

Actual Result

form-2

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.


mari-shakhanava avatar Jun 19 '24 15:06 mari-shakhanava