WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: Ridz Apps
Date: Jun 25, 2023 10:40AM


On Sun, 25 Jun 2023 at 4:44 PM Ridz Apps < <EMAIL REMOVED> > wrote:

> 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/
>

Thank you very much Patrick! would like to know then Patrick if header is
indeed the correct element for that left sidebar on the website I mentioned
above. I have the same use case.

> <https://react-icons.github.io/react-icons/>
>