@@ -239,41 +239,41 @@ should have a placeholder or be given a meaningful label via `aria-label`, `aria
239
239
#### Keyboard shortcuts
240
240
The keyboard shortcuts to handle datepicker are:
241
241
242
- | Shortcut | Action |
243
- | ----------------------| -----------------------------------|
244
- | ` ALT ` + ` DOWN_ARROW ` | Open the calendar pop-up |
245
- | ` ESCAPE ` | Close the calendar pop-up |
242
+ | Shortcut | Action |
243
+ | ----------------------| ------------------------------------- |
244
+ | ` ALT ` + ` DOWN_ARROW ` | Open the calendar pop-up |
245
+ | ` ESCAPE ` | Close the calendar pop-up |
246
246
247
247
248
248
In month view:
249
249
250
- | Shortcut | Action |
251
- | ----------------------| -----------------------------------|
252
- | ` LEFT_ARROW ` | Goes to previous day |
253
- | ` RIGHT_ARROW ` | Goes to next day |
254
- | ` UP_ARROW ` | Goes to previous 7 days |
255
- | ` DOWN_ARROW ` | Goes to next 7 days |
256
- | ` HOME ` | Focus the first day of the month |
257
- | ` END ` | Focus the last day of the month |
258
- | ` PAGE_UP ` | Goes to previous month |
259
- | ` ALT ` + ` PAGE_UP ` | Goes to previous year |
260
- | ` PAGE_DOWN ` | Goes to next month |
261
- | ` ALT ` + ` PAGE_DOWN ` | Goes to next year |
262
- | ` ENTER ` | Select current date |
250
+ | Shortcut | Action |
251
+ | ----------------------| ------------------------------------- |
252
+ | ` LEFT_ARROW ` | Go to previous day |
253
+ | ` RIGHT_ARROW ` | Go to next day |
254
+ | ` UP_ARROW ` | Go to same day in the previous week |
255
+ | ` DOWN_ARROW ` | Go to same day in the next week |
256
+ | ` HOME ` | Go to the first day of the month |
257
+ | ` END ` | Go to the last day of the month |
258
+ | ` PAGE_UP ` | Go to previous month |
259
+ | ` ALT ` + ` PAGE_UP ` | Go to previous year |
260
+ | ` PAGE_DOWN ` | Go to next month |
261
+ | ` ALT ` + ` PAGE_DOWN ` | Go to next year |
262
+ | ` ENTER ` | Select current date |
263
263
264
264
265
265
In year view:
266
266
267
- | Shortcut | Action |
268
- | ----------------------| -----------------------------------|
269
- | ` LEFT_ARROW ` | Goes to previous month |
270
- | ` RIGHT_ARROW ` | Goes to next month |
271
- | ` UP_ARROW ` | Goes to previous 6 months |
272
- | ` DOWN_ARROW ` | Goes to next 6 months |
273
- | ` HOME ` | Focus the first month of the year |
274
- | ` END ` | Focus the last month of the year |
275
- | ` PAGE_UP ` | Goes to previous year |
276
- | ` ALT ` + ` PAGE_UP ` | Goes to previous 10 years |
277
- | ` PAGE_DOWN ` | Goes to next year |
278
- | ` ALT ` + ` PAGE_DOWN ` | Goes to next 10 years |
279
- | ` ENTER ` | Select current month |
267
+ | Shortcut | Action |
268
+ | ----------------------| ------------------------------------- |
269
+ | ` LEFT_ARROW ` | Go to previous month |
270
+ | ` RIGHT_ARROW ` | Go to next month |
271
+ | ` UP_ARROW ` | Go to previous 6 months |
272
+ | ` DOWN_ARROW ` | Go to next 6 months |
273
+ | ` HOME ` | Go to the first month of the year |
274
+ | ` END ` | Go to the last month of the year |
275
+ | ` PAGE_UP ` | Go to previous year |
276
+ | ` ALT ` + ` PAGE_UP ` | Go to previous 10 years |
277
+ | ` PAGE_DOWN ` | Go to next year |
278
+ | ` ALT ` + ` PAGE_DOWN ` | Go to next 10 years |
279
+ | ` ENTER ` | Select current month |
0 commit comments