You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the section of the spec on title and desc, the following paragraph is buried at the end of the desc element description.
Description and title elements may contain marked-up text from other namespaces. However, authors should not rely on such markup to provide meaning to alternative text; only the plain text content is currently required to be exposed to assistive technologies.
Since it applies to both title and desc,, I think it would be better moved to the intro section of 4.5.1.
Also, should it be clearly stated here that if users use elements from other namespaces, then those namespaces must be declared - at least for standalone documents?
There is language to this effect in the foreignObject section. But not in this chapter.
Finally, I think it might also be good to add a note, such as:
Authors of SVG documents should be aware that non-browser implementations of the SVG standard are not required to support markup from other namespaces, such as HTML. So any markup effects applied to <tile> and <desc> content may not be reproduced in those circumstances.
The text was updated successfully, but these errors were encountered:
Good points. Also might be worth an informative note that the HTML parser treats these elements as "HTML insertion points" and will parse all markup as being in the HTML namespace, unless it is contained in an <svg> or <math> element.
For the most part, the important detail here is "Markup in SVG descriptive elements will not have any useful effect!". But just in case someone is using scripts to extract <desc> and <title> content and clone it into visible labels...
In the section of the spec on title and desc, the following paragraph is buried at the end of the desc element description.
Since it applies to both title and desc,, I think it would be better moved to the intro section of 4.5.1.
Also, should it be clearly stated here that if users use elements from other namespaces, then those namespaces must be declared - at least for standalone documents?
There is language to this effect in the foreignObject section. But not in this chapter.
Finally, I think it might also be good to add a note, such as:
The text was updated successfully, but these errors were encountered: