Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2020-10-28 05:24:22 +0300
committerMark Otto <markdotto@gmail.com>2020-10-28 05:24:22 +0300
commit7c4c36eff5432833b57411276bf67f4235a45d36 (patch)
tree3f50ded48425dfb7be4b4a499dbe88b8cb4d34ea
parent76d2f2896da1158aef6680c4a9e3985d117658ec (diff)
Rewrite docs notev1.1.0
-rw-r--r--docs/content/_index.md18
1 files changed, 12 insertions, 6 deletions
diff --git a/docs/content/_index.md b/docs/content/_index.md
index b7e05fa45..fb0cfc935 100644
--- a/docs/content/_index.md
+++ b/docs/content/_index.md
@@ -122,9 +122,16 @@ Color can be changed by setting a `.text-*` class or custom CSS:
</div>
</div>
+<div class="row my-4">
+ <div class="col-md-4">
+{{< md >}}
## Working with SVGs
-
SVGs are awesome to work with, but they do have some known quirks to work around. Given the numerous ways in which SVGs can be used, we haven't included these attributes and workarounds in our code.
+{{< /md >}}
+ </div>
+ <div class="col-md-8">
+{{< md >}}
+Known issues include:
- **Focus handling is broken in Internet Explorer and Edge.** When embedding your SVGs, add `focusable="false"` to the `<svg>` element. [Learn more on Stack Overflow.](https://stackoverflow.com/questions/18646111/disable-onfocus-event-for-svg-element)
@@ -132,10 +139,9 @@ 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 >}}
+- **External SVG sprites may not function correctly in Internet Explorer 9-11 and Edge 12.** Use the [svg4everybody](https://github.com/jonathantneal/svg4everybody) polyfill as needed.
Found another issue with SVGs we should note? Please open an issue to share details.
+{{< /md >}}
+ </div>
+</div>