Skip to main content

Function: labelWeekNumber()

labelWeekNumber(weekNumber, options?): string

Defined in: src/labels/labelWeekNumber.ts:13

Generates the ARIA label for the week number cell (the first cell in a row).

Parameters

ParameterTypeDescription
weekNumbernumberThe number of the week.
options?DateLibOptionsOptional configuration for the date formatting library.

Returns

string

The ARIA label for the week number cell.

Default Value

Week ${weekNumber}

See

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