Accessibility & Semantics
Semantic HTML page structure: a practical frontend blueprint
Build a clear HTML document outline with landmarks, headings, navigation, and content regions that work for people and search engines.
Frontend field guides
Detailed, implementation-focused guides for semantic HTML, resilient CSS, accessible interaction, Core Web Vitals, production forms, and component QA—connected directly to working examples from the Lab.
Start here
Browse the notebook
Accessibility & Semantics
Build a clear HTML document outline with landmarks, headings, navigation, and content regions that work for people and search engines.
Accessibility & Semantics
Learn when an interface action needs a button, when navigation needs a link, and how the choice affects keyboards, semantics, and UX.
Accessibility & Semantics
Create visible, attractive keyboard focus styles with focus-visible, reliable contrast, offset rings, and component-level testing.
Accessibility & Semantics
Implement modal semantics, focus movement, Escape handling, background isolation, responsive layout, and reliable focus restoration.
Accessibility & Semantics
Connect errors to fields, write actionable messages, manage focus after submission, and preserve user input through correction.
Accessibility & Semantics
Create a responsive mobile menu with native controls, meaningful labels, Escape support, focus management, and stable page layout.
Accessibility & Semantics
Keep expressive interface motion while providing calmer, equally understandable states for people who request reduced movement.
Accessibility & Semantics
Make charts understandable with semantic summaries, keyboard access, redundant encoding, readable labels, and responsive fallbacks.
CSS & Responsive Design
Use container queries to make cards, toolbars, forms, and dashboards respond to their available space instead of the viewport.
CSS & Responsive Design
Create responsive type scales with clamp, bounded viewport units, readable line lengths, and safe behavior at browser zoom levels.
CSS & Responsive Design
Organize resets, tokens, components, utilities, and overrides with cascade layers so selector strength stops becoming an arms race.
CSS & Responsive Design
Turn raw colors into semantic design tokens with reliable foreground pairs, state roles, contrast checks, and dark-theme behavior.
CSS & Responsive Design
Scope component selectors, control inheritance, document customization tokens, and prevent resets or utilities from leaking across page boundaries.
CSS & Responsive Design
Create resilient CSS card grids with grid, minmax, auto-fit, intrinsic sizing, consistent spacing, and content-aware mobile behavior.
CSS & Responsive Design
Use inline and block properties to support right-to-left text, vertical writing, responsive spacing, and direction-aware component icons.
CSS & Responsive Design
Build a system-aware theme switcher with semantic tokens, early preference resolution, durable storage, and accessible control states.
Performance & Core Web Vitals
Diagnose and improve loading, interaction responsiveness, and layout stability through concrete frontend measurements and fixes.
Performance & Core Web Vitals
Deliver correctly sized hero media with responsive sources, priority hints, stable dimensions, modern formats, and useful fallbacks.
Performance & Core Web Vitals
Delay expensive preview iframes and interactive demos while keeping component links, text, placeholders, and SEO content immediately available.
Performance & Core Web Vitals
Ship less client code through server rendering, progressive enhancement, route splitting, native platform features, and dependency review.
Performance & Core Web Vitals
Animate transform and opacity thoughtfully, avoid layout-heavy properties, contain effects, and verify frame performance under real load.
Performance & Core Web Vitals
Reserve media, preview, font, banner, and personalized content space so users never chase controls that move after loading.
Performance & Core Web Vitals
Choose font subsets, preload only critical files, tune fallback metrics, and balance brand typography with fast, stable rendering.
Performance & Core Web Vitals
Use bubbling events and closest safely to manage dynamic lists, menus, tables, and toast actions with fewer listeners and cleaner teardown.
Interactive UI Patterns
Create a convincing ember-and-flame button with pseudo-elements, clipped layers, crisp labels, accessible states, and reduced motion.
Interactive UI Patterns
Layer highlights, refraction, ripples, and surface tension into a liquid button that remains responsive, readable, and keyboard accessible.
Interactive UI Patterns
Scope pointer trails and spotlights to a demo surface, preserve native affordances, handle touch correctly, and respect reduced motion.
Interactive UI Patterns
Build fast command search with dialog semantics, keyboard shortcuts, grouped results, clear active states, and safe action execution.
Interactive UI Patterns
Design toast messages that announce important results, remain dismissible, avoid interruption, and support reliable undo workflows.
Interactive UI Patterns
Design native and custom range controls with keyboard support, visible values, semantic units, touch targets, and stable feedback.
Interactive UI Patterns
Keep headers, sorting, focus, comparison, and data relationships intact when complex tables move into narrow layouts.
Interactive UI Patterns
Build carousels with clear controls, stable focus, optional autoplay, semantic slide labels, swipe support, and reduced motion.
Forms, Testing & Production
Combine native constraints, clear inline feedback, server validation, preserved values, and accessible submission summaries.
Forms, Testing & Production
Build password sign-in that supports managers, paste, clear requirements, safe visibility toggles, passkeys, and useful errors.
Forms, Testing & Production
Create a keyboard-operable file picker with drag-and-drop, validation, upload progress, cancellation, retry, and clear file states.
Forms, Testing & Production
Design clear checkout steps, address and payment fields, price summaries, delivery choices, validation, and resilient submission states.
Forms, Testing & Production
Build autocomplete inputs with clear labels, fast filtering, active-option semantics, keyboard navigation, empty states, and selection recovery.
Forms, Testing & Production
Test the real component package across keyboard paths, viewport sizes, themes, reduced motion, console errors, and standalone exports.
Forms, Testing & Production
Create indexable component detail pages with unique metadata, preview images, SoftwareSourceCode schema, breadcrumbs, and useful content links.
Forms, Testing & Production
Prerender public catalog content, serve static assets efficiently, isolate dynamic routes, configure bindings, and verify deployment output.
Try a broader frontend term or choose another topic cluster.