Skip to content

Commit 62f5a68

Browse files
committed
!fixup fix(material/datepicker): multi-year view changes in datepicker doesn't announce selected year range
Adds comment in html file to connect the filed Firefox issue with the workaround. Fixes #28360
1 parent 2227150 commit 62f5a68

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/material/datepicker/calendar-header.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<div class="mat-calendar-header">
22
<div class="mat-calendar-controls">
3+
<!-- [Firefox Issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1880533]
4+
Relocated label next to related button and made visually hidden via cdk-visually-hidden
5+
to enable label to appear in a11y tree for SR when using Firefox -->
36
<label [id]="_periodButtonLabelId" class="cdk-visually-hidden">{{periodButtonDescription}}</label>
47
<button mat-button type="button" class="mat-calendar-period-button"
58
(click)="currentPeriodClicked()" [attr.aria-label]="periodButtonLabel"

0 commit comments

Comments
 (0)