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
For more context here, the Header by default renders a div with the ui header class. The default Header.Content is then valid as a div.
Since the Header is explicitly being set to render as='h2', it does seem reasonable that the Header.Content element type may also need to be set explicitly to comply.
I wouldn't be opposed to a PR updating the docs to render content and subheaders as='span' in those cases.
Steps
I created an item straight from your online guide:
Expected Result
Valid HTML
Actual Result
HTML output from this documentation page is:
If you paste it into the W3C checker you get informed it isn't valid HTML:
I'm happy with the way everything renders, I'm just concerned about the effect of compliance on potential future issues.
Version
0.71.1
Testcase
As above
The text was updated successfully, but these errors were encountered: