Re: [w3c/uievents] Move focus section to HTML (#185)

The [SVG 2 spec already references HTML](https://svgwg.org/svg2-draft/interact.html#Focus) for pretty much everything related to focus handling, including the [`tabindex` attribute and `focus()` and `blur()` methods](https://svgwg.org/svg2-draft/types.html#__svg__SVGElement__focus).

The only unique aspects defined for SVG in the [focus section](https://svgwg.org/svg2-draft/interact.html#Focus) are:

- listing which SVG elements should be focusable by default
- adding backwards compatibility for the SVG 1.2 `focusable` attribute, as a limited synonym of `tabindex`
- mentioning focusability of use-element shadow content (although that is now covered by general shadow DOM "flattened tree" concept)

Consistent cross-browser support for the SVG-specific details is still not great, but that's a separate matter.

If moving things to the HTML spec means that they aren't defined generally for all DOM elements, then we may need to add an extra paragraph here or there saying that SVG follows the HTML model. But I don't expect that to be a problem.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/185#issuecomment-369722511

Received on Thursday, 1 March 2018 20:36:40 UTC