diff --git a/src/material/datepicker/datepicker-intl.ts b/src/material/datepicker/datepicker-intl.ts index 1144192ba7bd..bab8b338983b 100644 --- a/src/material/datepicker/datepicker-intl.ts +++ b/src/material/datepicker/datepicker-intl.ts @@ -18,7 +18,11 @@ export class MatDatepickerIntl { */ readonly changes: Subject = new Subject(); - /** A label for the calendar popup (used by screen readers). */ + /** + * A label for the calendar popup (used by screen readers). + * @deprecated Provide your own internationalization string. + * @breaking-change 20.0.0 + */ calendarLabel = 'Calendar'; /** A label for the button used to open the calendar popup (used by screen readers). */ diff --git a/tools/public_api_guard/material/datepicker.md b/tools/public_api_guard/material/datepicker.md index fc90d2bd119d..bbdbbfb3fd21 100644 --- a/tools/public_api_guard/material/datepicker.md +++ b/tools/public_api_guard/material/datepicker.md @@ -479,6 +479,7 @@ export class MatDatepickerInputEvent { // @public export class MatDatepickerIntl { + // @deprecated calendarLabel: string; readonly changes: Subject; closeCalendarLabel: string;