WebAIM - Web Accessibility In Mind

E-mail List Archives

Clarification on the banner role not being at the top of a page

for

From: Ridz Apps
Date: Jun 25, 2023 7:44AM


Given a left sidebar that seems to match the description of a header (as
banners ie), would it be semantically correct to wrap the left sidebar with
a header element (or maybe a section element with role banner?), even
though it is not at the top of the page? I would like to know what would be
the best approach to mark up the left sidebar

Example:
https://react-icons.github.io/react-icons/