118: Aaron Gustafson - Semantic HTML: The Hard Parts
Episode
69 min
Read time
2 min
AI-Generated Summary
Key Takeaways
- ✓Heading hierarchy: Use single h1 per page as most important element, followed by h2s and h3s in proper order. HTML5 sectioning elements never implemented automatic outline algorithm, so sequential heading levels remain critical for screen readers navigating document structure and assistive technology understanding page organization.
- ✓Article element definition: Think of articles as individual items that stand alone independently, like articles of clothing rather than publication articles. Each Airbnb listing card, tweet, or blog post qualifies as an article element. Pages can contain unlimited articles without confusing screen readers or creating accessibility issues.
- ✓Hidden heading strategy: Major sites like Facebook use visually hidden headings to create proper document outlines separate from visual design. Each section receives an h2 title even when not displayed, allowing screen readers to navigate while designers maintain visual flexibility without compromising semantic structure or accessibility requirements.
- ✓Form label requirement: Always use label elements with for attributes to associate text with form fields. This creates accessible names for assistive technology, expands clickable areas for checkboxes and radio buttons, automatically focuses fields when labels are clicked, and represents the easiest accessibility improvement developers can implement immediately.
- ✓Description lists for metadata: Use dl, dt, and dd elements for key-value pairs like price per night, location, or post metadata instead of generic divs. Description lists provide semantic structure for data relationships, remain underutilized despite broad applicability, and offer better accessibility than paragraph or span alternatives for structured information.
What It Covers
Aaron Gustafson from Microsoft Edge explains semantic HTML for web applications, covering heading hierarchies, sectioning elements like article and aside, navigation patterns, form labels, and how proper markup enables screen readers and digital assistants to parse content.
Key Questions Answered
- •Heading hierarchy: Use single h1 per page as most important element, followed by h2s and h3s in proper order. HTML5 sectioning elements never implemented automatic outline algorithm, so sequential heading levels remain critical for screen readers navigating document structure and assistive technology understanding page organization.
- •Article element definition: Think of articles as individual items that stand alone independently, like articles of clothing rather than publication articles. Each Airbnb listing card, tweet, or blog post qualifies as an article element. Pages can contain unlimited articles without confusing screen readers or creating accessibility issues.
- •Hidden heading strategy: Major sites like Facebook use visually hidden headings to create proper document outlines separate from visual design. Each section receives an h2 title even when not displayed, allowing screen readers to navigate while designers maintain visual flexibility without compromising semantic structure or accessibility requirements.
- •Form label requirement: Always use label elements with for attributes to associate text with form fields. This creates accessible names for assistive technology, expands clickable areas for checkboxes and radio buttons, automatically focuses fields when labels are clicked, and represents the easiest accessibility improvement developers can implement immediately.
- •Description lists for metadata: Use dl, dt, and dd elements for key-value pairs like price per night, location, or post metadata instead of generic divs. Description lists provide semantic structure for data relationships, remain underutilized despite broad applicability, and offer better accessibility than paragraph or span alternatives for structured information.
Notable Moment
Gustafson reveals that proper semantic HTML enables digital assistants to execute complex commands like searching specific sites for products or reading top headlines from news pages, demonstrating how accessibility features benefit all users beyond traditional screen reader applications and creating machine-readable formats for emerging technologies.
You just read a 3-minute summary of a 66-minute episode.
Get Full Stack Radio summarized like this every Monday — plus up to 2 more podcasts, free.
Pick Your Podcasts — FreeKeep Reading
More from Full Stack Radio
153: DHH – Omarchy and Designing Your Own OS on Arch Linux
Aug 21 · 76 min
Venture Stories
LIVE: The Bull Case for SaaS in the Age of AI | Aaron Levie and Reid Hoffman
May 20
More from Full Stack Radio
152: Ben Orenstein - How to Stand Out When Applying for a Job at a Small Company
Jan 28 · 47 min
The Tim Ferriss Show
#866: Sami Inkinen of Virta Health — Reversing Type 2 Diabetes, Rowing 2,750 Miles, and Lessons from Fixing Metabolic Health in 100,000+ People
May 20
More from Full Stack Radio
We summarize every new episode. Want them in your inbox?
153: DHH – Omarchy and Designing Your Own OS on Arch Linux
152: Ben Orenstein - How to Stand Out When Applying for a Job at a Small Company
151: DHH – Building HEY with Hotwire
150: Secret Screencasting Tips & Behind the Scenes of Tailwind CSS 2.0
149: Choosing a Payment Processor, Radical Icons & W3C Hype
Similar Episodes
Related episodes from other podcasts
Venture Stories
May 20
LIVE: The Bull Case for SaaS in the Age of AI | Aaron Levie and Reid Hoffman
The Tim Ferriss Show
May 20
#866: Sami Inkinen of Virta Health — Reversing Type 2 Diabetes, Rowing 2,750 Miles, and Lessons from Fixing Metabolic Health in 100,000+ People
Equity
May 20
How Lucra raised $20M as an eSports play when every VC only wants AI
The Breakdown
May 20
OpenAI Digs A Moat, Ethereum Foundation Loses Talent, And Polymarket’s UMA Problem | The Breakdown
Marketing School
May 20
How To Send 1 Million Emails For $100/Month
This podcast is featured in Best Cybersecurity Podcasts (2026) — ranked and reviewed with AI summaries.
You're clearly into Full Stack Radio.
Every Monday, we deliver AI summaries of the latest episodes from Full Stack Radio and 192+ other podcasts. Free for up to 3 shows.
Start My Monday DigestNo credit card · Unsubscribe anytime