design-system
design-system copied to clipboard
Clarify Post Header Semantics
The post-header currently does not include an HTML <header> element.
We need to evaluate the correct semantic structure and implement the chosen approach.
Questions to resolve
- Should we use a
<header>element, or isrole="banner"sufficient? - Is it correct for the
<nav>element from thepost-mainnavigationto be placed inside a<header>element? Or could the<header>tag be used only for the global header and nav remains in the local header?
Tasks
- [ ] Decide on the correct semantic structure for
post-headerand implement it
@gfellerph Can you please add links to good resources on that topic?
Trusted sources include:
- https://www.w3.org/WAI/ARIA/apg/patterns/landmarks/examples/general-principles.html
- https://www.w3.org/WAI/ARIA/apg/
- https://developer.mozilla.org/de/
- https://www.accessibility-developer-guide.com/