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
While doing HTML validation PR, I found out that the heading <h2> in footer section had richtext inside it. By HTML standards, a heading tag can only have phrase content as a child.
I think (and as also suggested by @chigby in #885 (comment)) there are two different solutions:
We split into fields like footer heading, footer_organization_link, etc?
Decide if this at all needs to be a heading. If it's just a big text visually, and we don't want to convey the same to the assistive tech users and it doesn't really matter in the content-flow, then we can just style it as normal div and remove role=heading and aria-levels
While doing HTML validation PR, I found out that the heading
<h2>
in footer section had richtext inside it. By HTML standards, a heading tag can only have phrase content as a child.I think (and as also suggested by @chigby in #885 (comment)) there are two different solutions:
role=heading
and aria-levelsRefs #885
The text was updated successfully, but these errors were encountered: