We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92a7d55 + c711910 commit 9f6edfcCopy full SHA for 9f6edfc
packages/sui-svg/templates/icon-component.js
@@ -3,7 +3,7 @@ const template = content => {
3
import AtomIcon from '@s-ui/react-atom-icon'
4
5
const injectAccessibility = ({id, svg, title}) => {
6
- if (!title || !id) return svg.replace(/<svg([^>]*)>/, '<svg$1 aria-hidden="true">')
+ if (!title || !id) return svg.replace(/<svg([^>]*)>/, '<svg$1 aria-hidden="true" role="presentation">')
7
8
return svg.replace(
9
/<svg([^>]*)>/,
0 commit comments