Skip to content

Commit 795d849

Browse files
authored
fix(material/datepicker): fix duplicate nav stop with Voiceover (#24085)
Fixes double nav stops when navigating the calendar-body with voiceover . Fixes this by putting `aria-hidden="true"` on the `.mat-calendar-body-cell-preview`, since that element is only visual, and is not for giving semantic info to the a11y tree. fixes #24082
1 parent 3c05b34 commit 795d849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/datepicker/calendar-body.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,6 @@
6060
[class.mat-calendar-body-today]="todayValue === item.compareValue">
6161
{{item.displayValue}}
6262
</div>
63-
<div class="mat-calendar-body-cell-preview"></div>
63+
<div class="mat-calendar-body-cell-preview" aria-hidden="true"></div>
6464
</td>
6565
</tr>

0 commit comments

Comments
 (0)