Skip to content

Commit 1eda486

Browse files
committed
fix(material/timepicker): hide toggle icon from assistive technology
Fixes that the timepicker toggle icon was being read out as an image.
1 parent 14e9ec7 commit 1eda486

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/material/timepicker/timepicker-toggle.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
height="24px"
1515
width="24px"
1616
viewBox="0 -960 960 960"
17-
fill="currentColor">
17+
fill="currentColor"
18+
focusable="false"
19+
aria-hidden="true">
1820
<path d="m612-292 56-56-148-148v-184h-80v216l172 172ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-400Zm0 320q133 0 226.5-93.5T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 133 93.5 226.5T480-160Z"/>
1921
</svg>
2022
</ng-content>

0 commit comments

Comments
 (0)