aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorSimon Lenz <dev@simon-lenz.de>2019-07-27 00:02:26 +0200
committerSimon Lenz <dev@simon-lenz.de>2019-07-27 00:02:26 +0200
commit22f81138a1b9c5bf0c0eabc160d0d96c08ca3cac (patch)
tree070fcd1796aeec110a9c15a589d5fdf1d99c73bf /src/modules
parent0abd776a4c273bf70c834fd856ecf234185b989f (diff)
downloadsvg.js-22f81138a1b9c5bf0c0eabc160d0d96c08ca3cac.tar.gz
svg.js-22f81138a1b9c5bf0c0eabc160d0d96c08ca3cac.zip
1023 - hide parser from screen readers
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/core/parser.js1
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