Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
MrHBS opened this issue Jun 25, 2023 · 2 comments
Closed

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

MrHBS opened this issue Jun 25, 2023 · 2 comments
Labels

Comments

@MrHBS
Copy link

MrHBS commented Jun 25, 2023

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, even though it is not at the top of the page?

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

@pkra
Copy link
Member

pkra commented Jun 25, 2023

You will likely get a more useful response on a general web accessibility forum such as the WebAIM mailing list or web-a11y slack.

This issue tracker is for question related to the ARIA specification and its implementations.

FWIW, I'd say it depends. Yes, the banner role is especially important for situations where it's not possible to use a header element. Whether the react-icons page is a good example is a different question.

@pkra pkra added the question label Jun 25, 2023
@pkra
Copy link
Member

pkra commented Jun 25, 2023

Thanks for posting the same question to https://webaim.org/discussion/mail_message?id=49193

I'm sure you'll get a better response there.

@pkra pkra closed this as completed Jun 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants