This Wiki page is edited by participants of the HTML Accessibility Task Force. It does not necessarily represent consensus and it may have incorrect information or information that is not supported by other Task Force participants, WAI, or W3C. It may also have some very useful information.

Spec Review/SVG

From HTML accessibility task force Wiki
Jump to: navigation, search

Under review:

John Gardner

"image" role

All <svg> elements should default to using the image role. This may already be defined somewhere.

Janina to ask John to file bug Bug 13648

Alt text via <title> and <desc> elements

We need eventually to define how the root-level <title> and <desc> tags are exposed to AT agents in an HTML document. It is not yet clear how the <desc> element should be exposed, but the <title> element is pretty obvious. The root <title> element should be exposed to AT agents exactly as the <img> element's "alt" attribute is exposed. However, an "aria-label" attribute on the <svg> element should take precedence.

Janina to ask John to file bug, not sure if this is for SVG spec to clarify or if it's particular to the integration of SVG in HTML Bug 13649

Child <title> and <desc> elements

Exposure to AT needs eventually to be defined, but it is not yet clear what this should be.

Janina to ask John to file bug, not sure if this is for SVG spec to clarify or if it's particular to the integration of SVG in HTML

Matt May

There is no information on how SVG content is to be handled by or conveyed to AT, though this is consistent throughout the spec. Neither is there info on what ARIA role an SVG object should default to; whether setting it to "application" will offer access to the SVG DOM directly; whether setting it to something other than "application" would hide any accessibility metadata existing inside the SVG object; or whether HTML content inside an svg:foreignObject fragment is attached to the HTML DOM.

Bug 13541