Skip to content

Commit

Permalink
refactor(ui5-icon): ensure SVG not gaining focus on tab in IE (#945)
Browse files Browse the repository at this point in the history
It turns out that in IE, the SVG is always getting focused upon TAB. By setting focusable="false", the SVG is no longer focusable.
  • Loading branch information
ilhan007 authored Nov 21, 2019
1 parent 5bae11c commit 7cafa78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/main/src/Icon.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
dir="{{dir}}"
viewBox="0 0 512 512"
role="img"
focusable="false"
preserveAspectRatio="xMidYMid meet"
aria-label="{{accessibleNameText}}"
xmlns="http://www.w3.org/2000/svg"
Expand Down

0 comments on commit 7cafa78

Please sign in to comment.