You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@fsnoddy and I noticed that the beta template in the design system's latest news page currently fails HTML validation.
The beta template is structured as a <figure> element that contains <img>, <figcaption> and <p>. But the HTML spec disallows that. The spec only allows<figcaption> to be situated at either the beginning or end of <figure>. It can't be placed in-between other elements.
There could potentially be value in revising that template to be more in line with the examples from GCWeb's context-specific features page.
@fsnoddy and I noticed that the beta template in the design system's latest news page currently fails HTML validation.
The beta template is structured as a <figure> element that contains <img>, <figcaption> and <p>. But the HTML spec disallows that. The spec only allows<figcaption> to be situated at either the beginning or end of <figure>. It can't be placed in-between other elements.
There could potentially be value in revising that template to be more in line with the examples from GCWeb's context-specific features page.
@fsnoddy and I noticed that the beta template in the design system's latest news page currently fails HTML validation.
The beta template is structured as a
<figure>
element that contains<img>
,<figcaption>
and<p>
. But the HTML spec disallows that. The spec only allows<figcaption>
to be situated at either the beginning or end of<figure>
. It can't be placed in-between other elements.There could potentially be value in revising that template to be more in line with the examples from GCWeb's context-specific features page.
PS:
The latest news page also contains other HTML validation errors.
Thanks :)!
The text was updated successfully, but these errors were encountered: