Skip to content

Commit

Permalink
Merge branch 'patch-2' of https://github.com/bastienmoulia/icons into…
Browse files Browse the repository at this point in the history
… bastienmoulia-patch-2
  • Loading branch information
mdo committed Oct 28, 2020
2 parents 64e929b + 96d88d9 commit 76d2f28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,10 @@ SVGs are awesome to work with, but they do have some known quirks to work around

- **Safari skips `aria-label` when used non-focusable SVGs.** As such, use `aria-hidden="true"` when embedding the `<svg>` file and use CSS to visually hide an equivalent label. [More details here.](https://simplyaccessible.com/article/7-solutions-svgs/#acc-heading-6)

- **SVG external sprites are not working for IE 9-11 and Edge 12.** You can use the [svg4everybody](https://github.com/jonathantneal/svg4everybody) polyfill:
{{< highlight html >}}
<script nomodule src="https://cdn.jsdelivr.net/npm/svg4everybody@2.1.9/dist/svg4everybody.min.js"></script>
<script nomodule>svg4everybody();</script>
{{< /highlight >}}

Found another issue with SVGs we should note? Please open an issue to share details.

0 comments on commit 76d2f28

Please sign in to comment.