The document conformance requirements currently says that only the roles group, none, and presentation may be used on the figure element.
I believe the doc-example role should also be allowed. Possibly others too? (img/doc-cover? 'math? not quite sure about these ones).