Support tabindex in SVG, don't make every <svg> focusable by default
External Issue #8090208
Steps to reproduce
Steps to reproduce: create a web-page with inline SVG content. Try to tab through it.
IE & Edge make every <svg> element on a page keyboard focusable. This is inconsistent with other browsers, with the specs, and with user & author expectations. It is a major usability issue when there are lots of small SVG icons in a web page.
IE & Edge do respect the focusable
attribute that was introduced in SVG Tiny 1.2, but that is obsolete and not supported in other major web browsers. SVG 2 uses tabindex
, like HTML.
https://svgwg.org/svg2-draft/interact.html#Focus
The related user voice request (currently 24 votes): https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/7055797-make-svg-elements-non-focusable-by-default
You need to sign in to your Microsoft account to add a comment.
Sign in