fix(datepicker): screenreaders report editable grid cells (#12275)

* Since the `aria-readonly` attribute is not set properly, in Firefox with NVDA, the screenreader announces that every date (grid cell) is editable. This is not true, because those cells are just selectable.
This commit is contained in:
Paul Gschwendtner
2018-08-27 19:03:13 +02:00
committed by Jeremy Elbourn
parent dda812264b
commit a2dcf21f9d
+1 -1
View File
@@ -42,7 +42,7 @@ export class MatCalendarCell {
host: {
'class': 'mat-calendar-body',
'role': 'grid',
'attr.aria-readonly': 'true'
'aria-readonly': 'true'
},
exportAs: 'matCalendarBody',
encapsulation: ViewEncapsulation.None,