You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move focus to selected date, i.e., the date displayed in the date input text field. If no date has been selected, places focus on the current date.
Date Picker Dialog
Key
Function
ESC
Closes the dialog and returns focus to the "Choose Date" button.
Tab
Moves focus to next element in the dialog Tab sequence.
Note that, as specified in the Grid Pattern, only one button in the calendar grid is in the Tab sequence.
If focus is on the last button (i.e., "OK"), moves focus to the first button (i.e. "Previous Year").
Shift + Tab
Moves focus to previous element in the dialog Tab sequence.
Note that, as specified in the Grid Pattern, only one button in the calendar grid is in the Tab sequence.
If focus is on the first button (i.e., "Previous Year"), moves focus to the last button (i.e. "OK").
Date Picker Dialog: Month/Year Buttons
Key
Function
Space,Enter
Change the month and/or year displayed in the calendar grid.
Date Picker Dialog: Date Grid
Key
Function
Space,Enter
Select the date, close the dialog, and move focus to the "Choose Date" button.
Update the value of the "Date" input with the selected date.
Update the accessible name of the "Choose Date" button to include the selected date.
Up Arrow
Moves focus to the same day of the previous week.
Down Arrow
Moves focus to the same day of the next week.
Right Arrow
Moves focus to the next day.
Left Arrow
Moves focus to the previous day.
Home
Moves focus to the first day (e.g Sunday) of the current week.
End
Moves focus to the last day (e.g. Saturday) of the current week.
Page Up
Changes the grid of dates to the previous month.
Moves focus to the day of the month that has the same number. If that day does not exist, moves focus to the last day of the month.
Shift + Page Up
Changes the grid of dates to the same month in the previous year.
Moves focus to the day of the month that has the same number. If that day does not exist, moves focus to the last day of the month.
Page Down
Changes the grid of dates to the next month.
Moves focus to the day of the month that has the same number. If that day does not exist, moves focus to the last day of the month.
Shift + Page Down
Changes the grid of dates to the same month in the next year.
Moves focus to the day of the month that has the same number.If that day does not exist, moves focus to the last day of the month.
Date Picker Dialog: OK and Cancel Buttons
Key
Function
Space,Enter
Activates the button:
"Cancel": Closes the dialog, moves focus to "Choose Date" button, does not update date in date input.
"OK": Closes the dialog, moves focus to "Choose Date" button, updates date in date input, updates accessible name of the "Choose Date" button to include the selected date.
About
This Datepicker is a custome web component, which was written with HTML, JavaScript and CSS. You can use it in any html page. - It is fully accessible -It supports multiple language -It can be used in any HTML page