epam / epam/UUI

[Date Picker], [Range Date Picker]: A11y - There is no error message for typing date in unsupported format

Open
#2,784 1 comment 0 reactions 0 assignees View on GitHub
A11y bug
Dominant language
TypeScript
Stars
247
Forks
78
Avg merge
14h 27m
Merged PRs (30d)
15

Description

## Description

When User types date in unsupported format, there is no error message, just the field is cleared automatically

## Steps to Reproduce

1. Open [Date Picker](https://uui.epam.com/documents?id=datePicker&mode=doc&isSkin=true&category=components&theme=loveship) component or [Range Date Picker](https://uui.epam.com/documents?id=rangeDatePicker&mode=doc&isSkin=true&category=components&theme=loveship) component
2. Type date in unsupported format (e.g., "14.02.25") and observe the behavior.

## Actual result
https://github.com/user-attachments/assets/ce0bab8a-23ae-453a-ac72-126e0d5df829
There is no error message, just the field is cleared automatically.

## Expected result
Error message should be displayed.

Failed SC:
[3.3.1 Error Identification (Level A)](https://www.w3.org/WAI/WCAG22/Understanding/error-identification)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.