@microflash/spritely
Advanced tools
+5
-5
| { | ||
| "name": "@microflash/spritely", | ||
| "version": "1.3.3", | ||
| "version": "1.4.0", | ||
| "description": "A handy Node.js CLI to generate SVG sprites", | ||
@@ -10,6 +10,6 @@ "preferGlobal": true, | ||
| "dependencies": { | ||
| "cheerio": "^1.0.0-rc.5", | ||
| "commander": "^7.1.0", | ||
| "fs-extra": "^9.1.0", | ||
| "klaw": "^3.0.0" | ||
| "cheerio": "^1.0.0-rc.10", | ||
| "commander": "^8.3.0", | ||
| "fs-extra": "^10.0.0", | ||
| "klaw": "^4.0.1" | ||
| }, | ||
@@ -16,0 +16,0 @@ "repository": "https://github.com/Microflash/spritely.git", |
+1
-7
@@ -82,8 +82,2 @@ # Spritely | ||
| When using the sprites, add the `aria-labelledby` attribute describing the content of the file. | ||
| ```html | ||
| <svg role="img" class="icon icon-airplay" aria-labelledby="icon-airplay"> | ||
| <use xlink:href="sprites.svg#icon-airplay" href="sprites.svg#icon-airplay" /> | ||
| </svg> | ||
| ``` | ||
| For better guidelines on using SVGs accessibly, refer to [Accessible SVGs: Perfect Patterns For Screen Reader Users](https://www.smashingmagazine.com/2021/05/accessible-svg-patterns-comparison/). |
Sorry, the diff of this file is not supported yet
9597
-0.6%83
-6.74%+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated
Updated