mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +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
|
<svg
|
||||||
viewBox=${this.viewBox || "0 0 24 24"}
|
viewBox=${this.viewBox || "0 0 24 24"}
|
||||||
preserveAspectRatio="xMidYMid meet"
|
preserveAspectRatio="xMidYMid meet"
|
||||||
focusable="false">
|
focusable="false"
|
||||||
|
role="img"
|
||||||
|
aria-hidden="true"
|
||||||
|
>
|
||||||
<g>
|
<g>
|
||||||
${this.path ? svg`<path d=${this.path}></path>` : ""}
|
${this.path ? svg`<path d=${this.path}></path>` : ""}
|
||||||
</g>
|
</g>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user