diff options
author | Simon Lenz <dev@simon-lenz.de> | 2019-07-27 00:02:26 +0200 |
---|---|---|
committer | Simon Lenz <dev@simon-lenz.de> | 2019-07-27 00:02:26 +0200 |
commit | 22f81138a1b9c5bf0c0eabc160d0d96c08ca3cac (patch) | |
tree | 070fcd1796aeec110a9c15a589d5fdf1d99c73bf /src/modules/core | |
parent | 0abd776a4c273bf70c834fd856ecf234185b989f (diff) | |
download | svg.js-22f81138a1b9c5bf0c0eabc160d0d96c08ca3cac.tar.gz svg.js-22f81138a1b9c5bf0c0eabc160d0d96c08ca3cac.zip |
1023 - hide parser from screen readers
Diffstat (limited to 'src/modules/core')
-rw-r--r-- | src/modules/core/parser.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/core/parser.js b/src/modules/core/parser.js index dfa7b7b..7028044 100644 --- a/src/modules/core/parser.js +++ b/src/modules/core/parser.js @@ -14,6 +14,7 @@ export default function parser () { ].join(';') svg.attr('focusable', 'false') + svg.attr('aria-hidden', 'true') let path = svg.path().node |