header inside nav, why? #1986
Mohammadtahirlashari
started this conversation in
General
Replies: 1 comment
-
Yes, I also think they got |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
header inside nav, why?
I have studied in MDN Docs.
When we use
direct in , it's role is as site banner landmark and it's recommended because assistive technologies.Whn we use
inside any other html element likeMy Question:
In NextUI, You have put header inside nav element. it means, if we use navbar form NextUI, then, assistive technologies fails to determin the site landmark. which is not good for web accessibility.
Please, correct me, If I'm wrong or convince me this is the best practice to keep header inside nav or keep nav inside header.
thank you
Beta Was this translation helpful? Give feedback.
All reactions