From: Simon Lenz Date: Fri, 26 Jul 2019 22:02:26 +0000 (+0200) Subject: 1023 - hide parser from screen readers X-Git-Tag: 3.0.14~1^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=22f81138a1b9c5bf0c0eabc160d0d96c08ca3cac;p=svg.js.git 1023 - hide parser from screen readers --- 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