Skip to content

Commit de292db

Browse files
committed
docs(material/datepicker): a11y, require confirmation buttons
Datepicker accessiblity docs require proving confirmation buttons.
1 parent 43214b5 commit de292db

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/datepicker/datepicker.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,8 @@ The `MatDatepicker` pop-up uses the `role="dialog"` interaction pattern. This di
566566
multiple controls, the most prominent being the calendar itself. This calendar implements the
567567
`role="grid"` interaction pattern.
568568

569+
The `matDatepickerCanel` and `matDatepickerApply` provide confirmation of the selected date when closing the pop-up. Always enable the confirmation action buttons (see [_Confirmation action buttons_](#confirmation-action-buttons)).
570+
569571
The `MatDatepickerInput` and `MatDatepickerToggle` directives both apply the `aria-haspopup`
570572
attribute to the native input and button elements, respectively.
571573

0 commit comments

Comments
 (0)