doc-example has the superclass section, but it seems to make more sense that it inherit directly from figure, as examples are a specialized type of figure. It also removes the problematic relationship of the figcaption element when the figure element's role is overridden.
See also w3c/html-aria#99
doc-examplehas the superclasssection, but it seems to make more sense that it inherit directly fromfigure, as examples are a specialized type of figure. It also removes the problematic relationship of thefigcaptionelement when thefigureelement's role is overridden.See also w3c/html-aria#99