Closed braddiver closed 6 years ago
Adding some extra details from a duplicate issue I created in iron-icon:
This occurs In both Edge and IE11, and occurs even with a tabindex="-1"
-- since apparently that's part of the SVG2 spec, which IE does not yet support.
https://jsbin.com/subavuciji/edit?html,output
As noted above in the description, and from this article on StackOverflow, set the focusable
attribute to false
: <svg focusable="false"></svg>
Tested on IE 11: adding svg.setAttribute('focusable', 'false');
into _prepareSvgClone
works as expected.
Hello, what is the state of this issue?
Description
Any SVG elements written by
iron-iconset-svg
will be put into the tab order of the page in IE11.Expected outcome
SVG elements should not be focusable by default
Adding this line of code in the
_prepareSvgClone
function fixes the problem:svg.setAttribute('focusable', false);