[svgwg] Implicit and allowed roles for SVG element in a HTML document

lemnis has just created a new issue for https://github.com/w3c/svgwg:

== Implicit and allowed roles for SVG element in a HTML document ==
Related specs:
* https://www.w3.org/TR/html-aria/#svg
* https://www.w3.org/TR/SVG2/struct.html#implicit-aria-semantics

Both specifications define different implicit and allowed roles for the `svg` element.  My first assumption was:
```html
<html>
  <body>
    <svg> <!-- should validate against the html spec -->
      <svg> <!-- should validate against the svg2 spec -->
      </svg>
    </svg>
  </body>
</html>
```

But both are inside the SVG namespace, so I started wondering if my assumption is correct. And maybe the should only be validated to the SVG2 specification.

What is the correct behavior?

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/372 using your GitHub account

Received on Monday, 11 December 2017 14:43:59 UTC