~/talk

Advanced HTML for Performance & Accessibility

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [web-platform, accessibility]
slides:none on file

HTML choices change accessibility and performance: use semantic elements (headings in order, native button and anchor) and ARIA only to fill gaps; add width/height to images to reduce cumulative layout shift and use srcset/sizes plus loading="lazy" correctly (don't lazy LCP images). Watch DOM size—Lighthouse warns at 800 nodes and recommends <1500, max depth 32, no parent with >60 children. Use fetchpriority, preload, preconnect/DNS-prefetch and early hints carefully to prioritize critical fonts/scripts and avoid deprioritizing render-blocking resources.

AI-written summary · about

  1. 0:00Introduction
  2. 1:52HTML for performance & accessibility
  3. 8:42Semantic HTML & accessibility tree
  4. 13:20HTML impact on DOM & rendering
  5. 21:36Native vs custom elements
  6. 33:36Image performance & layout shifts
  7. 39:23Lazy loading images
  8. 41:11Fetch priority for resources
  9. 46:48Resource hints for connections
  10. 49:15Preloading critical resources
  11. 54:29HTML optimizations vs file size
  12. 55:11Conclusion and key takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.