baseweb icon indicating copy to clipboard operation
baseweb copied to clipboard

Datepicker / Calendar improvement: optional display of week numbers

Open MarcusMorba opened this issue 3 years ago • 0 comments

Option to display also the week number

Feature description

Option to display also the week number

Example: https://developer.microsoft.com/en-us/fluentui#/controls/web/datepicker > showWeekNumbers (boolean, false) Whether the calendar should show the week number (weeks 1 to 53) before each week row.

References: Describing Tables and Figures with Captions In HTML, if the table is named using aria-label or aria-labelledby, a child caption element becomes an accessible description. For example, a preceding heading might serve as an appropriate accessible name, and the caption element might contain a longer description. In such a situation, aria-labelledby could be used on the table to set the accessible name to the heading content and the caption would become the accessible description.

Upcoming events

Calendar of upcoming events, weeks 27 through 31, with each week starting with Monday. The first column is the week number.
WeekMondayTuesdayWednesdayThursdayFridaySaturdaySunday
27
28Crown Princess's birthday
29
30
31

Source: https://www.w3.org/WAI/ARIA/apg/practices/names-and-descriptions/

MarcusMorba avatar Aug 04 '22 13:08 MarcusMorba