diff --git a/CHANGELOG.md b/CHANGELOG.md index 59bcc7b..0b18e93 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +## [5.1.1](https://github.com/JetBrains/svg-sprite-loader/compare/v5.1.0...v5.1.1) (2020-12-05) + + + -# [5.1.0](https://github.com/JetBrains/svg-sprite-loader/compare/v5.0.0...v5.1.0) (2020-11-06) +# [5.1.0](https://github.com/JetBrains/svg-sprite-loader/compare/v5.0.0...v5.1.0) (2020-12-05) ### Features diff --git a/examples/browser-sprite-with-dll/build/dll.js b/examples/browser-sprite-with-dll/build/dll.js index cc6abdd..b859120 100644 --- a/examples/browser-sprite-with-dll/build/dll.js +++ b/examples/browser-sprite-with-dll/build/dll.js @@ -1389,7 +1389,12 @@ var sprite; if (isSpriteExists) { sprite = window[spriteGlobalVarName]; } else { - sprite = new BrowserSprite({ attrs: { id: spriteNodeId } }); + sprite = new BrowserSprite({ + attrs: { + id: spriteNodeId, + 'aria-hidden': 'true' + } + }); window[spriteGlobalVarName] = sprite; } diff --git a/examples/browser-sprite/build/main.js b/examples/browser-sprite/build/main.js index f1f3e11..4d94ee4 100644 --- a/examples/browser-sprite/build/main.js +++ b/examples/browser-sprite/build/main.js @@ -1376,7 +1376,12 @@ var sprite; if (isSpriteExists) { sprite = window[spriteGlobalVarName]; } else { - sprite = new BrowserSprite({ attrs: { id: spriteNodeId } }); + sprite = new BrowserSprite({ + attrs: { + id: spriteNodeId, + 'aria-hidden': 'true' + } + }); window[spriteGlobalVarName] = sprite; } diff --git a/examples/custom-runtime-generator/build/main.js b/examples/custom-runtime-generator/build/main.js index c835067..a4286b4 100644 --- a/examples/custom-runtime-generator/build/main.js +++ b/examples/custom-runtime-generator/build/main.js @@ -10757,7 +10757,12 @@ var sprite; if (isSpriteExists) { sprite = window[spriteGlobalVarName]; } else { - sprite = new BrowserSprite({ attrs: { id: spriteNodeId } }); + sprite = new BrowserSprite({ + attrs: { + id: spriteNodeId, + 'aria-hidden': 'true' + } + }); window[spriteGlobalVarName] = sprite; } diff --git a/package.json b/package.json index 6f9ba88..c6c9dfa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svg-sprite-loader", - "version": "5.1.0", + "version": "5.1.1", "description": "Webpack loader for creating SVG sprites", "keywords": [ "svg", diff --git a/runtime/browser-sprite.js b/runtime/browser-sprite.js index f65870c..d442bee 100644 --- a/runtime/browser-sprite.js +++ b/runtime/browser-sprite.js @@ -11,7 +11,12 @@ let sprite; if (isSpriteExists) { sprite = window[spriteGlobalVarName]; } else { - sprite = new BrowserSprite({ attrs: { id: spriteNodeId } }); + sprite = new BrowserSprite({ + attrs: { + id: spriteNodeId, + 'aria-hidden': 'true' + } + }); window[spriteGlobalVarName] = sprite; }