Skip to content

Commit

Permalink
[SvgIcon] Remove wrong role (#20307)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Mar 27, 2020
1 parent 74625ab commit 81c20b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui/src/SvgIcon/SvgIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const SvgIcon = React.forwardRef(function SvgIcon(props, ref) {
viewBox={viewBox}
color={htmlColor}
aria-hidden={titleAccess ? undefined : 'true'}
role={titleAccess ? 'img' : 'presentation'}
role={titleAccess ? 'img' : undefined}
ref={ref}
{...other}
>
Expand Down

0 comments on commit 81c20b8

Please sign in to comment.