Very good.
Recently I have been looking into going the other way - exporting SVG from Elm as raw SVG that can be consumed by other applications such as Inkscape. What I learned is that SVG in a browser can be styled with CSS elements that are not part of the SVG spec, so you just have to be careful about that and it works well.
I guess a tool could be written that does Svg a -> Bool and by walking over the SVG tells you if it is compliant or not, or better Svg a -> Maybe (Svg a) that tries to clean it up for you.