Skip to main content

Function: labelGrid()

labelGrid(date, options?, dateLib?): string

Defined in: src/labels/labelGrid.ts:15

Generates the ARIA label for the month grid, which is announced when entering the grid.

Parameters

Returns

string

The ARIA label for the month grid.

Default Value

Locale-specific month/year order (e.g., "November 2022").

See

https://daypicker.dev/docs/translation#aria-labels