]> source.dussan.org Git - svg.js.git/commitdiff
1023 - hide parser from screen readers
authorSimon Lenz <dev@simon-lenz.de>
Fri, 26 Jul 2019 22:02:26 +0000 (00:02 +0200)
committerSimon Lenz <dev@simon-lenz.de>
Fri, 26 Jul 2019 22:02:26 +0000 (00:02 +0200)
src/modules/core/parser.js

index dfa7b7bd0984ef0a1f6a652d7febc592c2829569..70280449ab8dd34473e693fff81a0c54439d633f 100644 (file)
@@ -14,6 +14,7 @@ export default function parser () {
     ].join(';')
 
     svg.attr('focusable', 'false')
+    svg.attr('aria-hidden', 'true')
 
     let path = svg.path().node