ARIA in HTML is updating the role allowances for a figure element with a child figcaption to allow for authors to use doc-example.
doc-example is a dpub variant of the figure role. This role being the same as figure but with the opportunity of being exposed as an "example" for its role description, needs to be an allowed role for the figure element - further discussion on this topic via the original dpub aria issue.
ARIA in HTML is updating the role allowances for a
figureelement with a childfigcaptionto allow for authors to usedoc-example.doc-exampleis a dpub variant of thefigurerole. This role being the same asfigurebut with the opportunity of being exposed as an "example" for its role description, needs to be an allowed role for the figure element - further discussion on this topic via the original dpub aria issue.