Skip to content

How to change contents of aria-label in Button of day #1585

Answered by gpbl
jpaulebenz asked this question in Support
Discussion options

You must be logged in to vote

If you pass labels with a labelDay function, you can change that aria-label:`

https://codesandbox.io/s/react-daypicker-forked-2vfcoy?file=/src/App.tsx

Edit: labelDay is not used anymore. See #1774 (comment)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by gpbl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants