mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
Remove SVG icons from accessibility tree (#11389)
This commit is contained in:
parent
e51a819bfd
commit
8f31c182f6
@ -12,7 +12,10 @@ export class HaSvgIcon extends LitElement {
|
||||
<svg
|
||||
viewBox=${this.viewBox || "0 0 24 24"}
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
focusable="false">
|
||||
focusable="false"
|
||||
role="img"
|
||||
aria-hidden="true"
|
||||
>
|
||||
<g>
|
||||
${this.path ? svg`<path d=${this.path}></path>` : ""}
|
||||
</g>
|
||||
|
Loading…
x
Reference in New Issue
Block a user