File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
< div class ="mat-calendar-header ">
2
2
< div class ="mat-calendar-controls ">
3
- <!-- [Firefox Issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1880533]
3
+ <!-- [Firefox Issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1880533]
4
4
Relocated label next to related button and made visually hidden via cdk-visually-hidden
5
5
to enable label to appear in a11y tree for SR when using Firefox -->
6
- < label [id] ="_periodButtonLabelId " class ="cdk-visually-hidden "> {{periodButtonDescription}}</ label >
6
+ < label [id] ="_periodButtonLabelId " class ="cdk-visually-hidden " aria-live =" polite " > {{periodButtonDescription}}</ label >
7
7
< button mat-button type ="button " class ="mat-calendar-period-button "
8
8
(click) ="currentPeriodClicked() " [attr.aria-label] ="periodButtonLabel "
9
- [attr.aria-describedby] ="_periodButtonLabelId " aria-live =" polite " >
9
+ [attr.aria-describedby] ="_periodButtonLabelId ">
10
10
< span aria-hidden ="true "> {{periodButtonText}}</ span >
11
11
< svg class ="mat-calendar-arrow " [class.mat-calendar-invert] ="calendar.currentView !== 'month' "
12
12
viewBox ="0 0 10 5 " focusable ="false " aria-hidden ="true ">
You can’t perform that action at this time.
0 commit comments