Function: labelDayButton()
labelDayButton(
date
,modifiers
,options
?,dateLib
?):string
The ARIA label for the day button.
Use the modifiers
argument to add additional context to the label, e.g.
when a day is selected or is today.
Parameters
Parameter | Type | Description |
---|---|---|
date | Date | - |
modifiers | Modifiers | The modifiers for the day. |
options ? | DateLibOptions | - |
dateLib ? | DateLib | - |
Returns
string
Default Value
The formatted date.
See
https://daypicker.dev/docs/translation#aria-labels