Skip to content

Conversation

@martijnrusschen
Copy link
Member

Adds support for aria-label prop to the DatePicker component, allowing users to provide accessible labels for screen readers without needing a visible label element on the page.

The prop can be used with either the standard HTML attribute name (aria-label) or the camelCase prop name (ariaLabel), following the same pattern as existing aria props like ariaLabelledBy.

Fixes #5981

Adds support for aria-label prop to the DatePicker component, allowing
users to provide accessible labels for screen readers without needing
a visible label element on the page.

The prop can be used with either the standard HTML attribute name
(aria-label) or the camelCase prop name (ariaLabel), following the
same pattern as existing aria props like ariaLabelledBy.

Fixes #5981
@codecov
Copy link

codecov bot commented Nov 26, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.21%. Comparing base (5d228d3) to head (dbfd2d3).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6057   +/-   ##
=======================================
  Coverage   99.21%   99.21%           
=======================================
  Files          30       30           
  Lines        3584     3586    +2     
  Branches     1516     1534   +18     
=======================================
+ Hits         3556     3558    +2     
  Misses         27       27           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@martijnrusschen martijnrusschen merged commit bd3ab11 into main Nov 26, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding support for aria-label by default

2 participants