Intern Track Roadmap

Semantic HTML: content

Semantic HTML: content covers four tags that give structure to what sits inside main: article, section, nav and aside. Each lesson explains what one tag marks and which accessibility role it exposes, a role you can check in the DevTools Accessibility panel. The course shows when a section needs an accessible name, how to tell several nav blocks apart, and when an aside keeps the complementary role. It ends with a four-question decision process and a full product page built in Rails.

What you'll learn

  • ✓Marking self-contained content with article, including nested comments
  • ✓Grouping thematic parts with section and giving each one an accessible name
  • ✓Reserving nav for major navigation blocks and labeling each one with aria-label
  • ✓Using aside for tangential content and the complementary role
  • ✓Choosing between div, article, aside and section with four ordered questions
  • ✓Checking each role in the DevTools Accessibility panel
Free preview · Lesson 1 3 min read

Inside main: giving content its own structure

The last course built a page's skeleton: header, main, footer, each mapping to a landmark (banner, main, contentinfo) that a screen reader user can jump straight to. That skeleton says nothing yet about what's inside <main>. A product page, a blog post, and a search results page all fit the same…

Read the full lesson free →

Curriculum

7 lessons
Type to start searching...