Skip to content

[DatePicker]: aria-label format issue for dates #13594

@shubh1502

Description

@shubh1502

Bug Description

Description:
We identified an accessibility inconsistency in the DatePicker calendar between SAPUI5 framework-based controls and UI5 Web Components.

In SAPUI5 framework-based DatePicker controls, the calendar day cells expose the aria-label in the following format:

Day Month Year
Example: 12 March 2026

However, in UI5 Web Components DatePicker, the calendar day cells expose the aria-label in a different format:

Month Day Year
Example: March 12 2026

This inconsistency was reported by our accessibility team because users of assistive technologies experience different reading patterns depending on which DatePicker implementation is used.

After investigating the issue, we found that the formatting appears to originate from the UI5 Web Components implementation itself.

Affected Component

DatePicker/Calender

Expected Behaviour

Expected Behavior:
The aria-label format in UI5 Web Components DatePicker should be aligned with the SAPUI5 framework implementation for consistency and accessibility compliance.

Expected format:

Day Month Year

Actual Behavior:
UI5 Web Components DatePicker uses:

Month Day Year

Isolated Example

https://ui5.github.io/webcomponents/components/DatePicker/

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

2.22.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SAP Labs

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    New Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions