Summary
The validator is failing on an SVG tag like this:
<svg id="export-svg" width="100%" xmlns="http://www.w3.org/2000/svg" class="flowchart" style="max-width: 348.390625px; background: rgb(255, 255, 255);" viewBox="0 0 348.390625 491.765625" role="graphics-document document" aria-roledescription="flowchart-v2">...</svg>
The problem is the "role" attribute. The message coming back is:
error: Bad value “graphics-document document” for attribute “role” on element “svg”.
The "graphics-document" role is specified in WAI-ARIA Graphics Module, and the "role" attribute allows for multiple roles to be specified. You can see an example in the WAI-ARIA document itself in the linked section.
URL for document that reproduces the problem
n/a
HTML/CSS/SVG snippet that reproduces the problem
<svg id="export-svg" width="100%" xmlns="http://www.w3.org/2000/svg" class="flowchart" style="max-width: 348.390625px; background: rgb(255, 255, 255);" viewBox="0 0 348.390625 491.765625" role="graphics-document document" aria-roledescription="flowchart-v2">...</svg>
Checker error messages
error: Bad value “graphics-document document” for attribute “role” on element “svg”.
Spec links/citations
https://www.w3.org/TR/graphics-aria-1.0/#role_definitions
Steps to reproduce
Expected behavior
SVG passes cleanly.
Actual behavior
Error message.
Screenshots or screen recordings
No response
Summary
The validator is failing on an SVG tag like this:
The problem is the "role" attribute. The message coming back is:
The "graphics-document" role is specified in WAI-ARIA Graphics Module, and the "role" attribute allows for multiple roles to be specified. You can see an example in the WAI-ARIA document itself in the linked section.
URL for document that reproduces the problem
n/a
HTML/CSS/SVG snippet that reproduces the problem
Checker error messages
error: Bad value “graphics-document document” for attribute “role” on element “svg”.Spec links/citations
https://www.w3.org/TR/graphics-aria-1.0/#role_definitions
Steps to reproduce
Expected behavior
SVG passes cleanly.
Actual behavior
Error message.
Screenshots or screen recordings
No response