Design comparison
Community feedback
- @fggdbdsbfdPosted over 1 year ago
I'd be happy to give you some advice on the topic of landmarks in HTML documents! Here are some tips, presented in bullet points with a professional tone and a few helpful emojis:
-π Every good HTML document should have a main landmark! This landmark helps users understand the structure of the page and navigate it more easily.
-π The main landmark should typically be the <main> element. This element should contain the main content of the page, such as articles, posts, or product listings.
-π You can use ARIA attributes to help identify your main landmark and make it more accessible to users who rely on assistive technologies.
-π§ Remember that other landmarks, such as <header>, <nav>, <aside>, and <footer>, can also be helpful for organizing your content and making it easier to navigate.
-π» When designing your HTML document, it's important to consider the needs of all users, including those with disabilities. By using proper landmarks and ARIA attributes, you can make your site more accessible and user-friendly for everyone.
-I hope these tips help you create an organized and accessible HTML document with a clear main landmark! If you have any more questions, feel free to ask.
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord