Home  >  Forum  >  Angular
Post New Query

What is dateA11yLabel and monthYearA11yLabel in Datepicker in Angular Material?

Asked on July 04, 2020
In Angular Material Datepicker, to set format I need to use following code from


export const MY_FORMATS = {
  parse: {
    dateInput: 'LL',
  display: {
    dateInput: 'LL',
    monthYearLabel: 'MMM YYYY',
    dateA11yLabel: 'LL',
    monthYearA11yLabel: 'MMMM YYYY',

What is dateA11yLabel and monthYearA11yLabel in format code?

Replied on July 04, 2020
The dateA11yLabel and monthYearA11yLabel is for Accessibility(A11Y). 

The Accessibility (a11y) project is community driven effort to make web accessibility easier for the all people including those with disabilities or impairments.  

Write Answer

©2022 concretepage.com | Privacy Policy | Contact Us