~/talk

Stop using JavaScript for that

Talkat Frontmania 2022 · on Wednesday, 2022-10-05· [web-platform, css]
slides:none on file

Browsers now implement common UI patterns so less JavaScript is needed: actual recipes include building toggles with a checkbox plus appearance: none and :checked, autosuggest via datalist, color pickers with input type=color, smooth fragment navigation via scroll-behavior: smooth plus scroll-margin-top and :target highlighting, sticky headers with position:sticky, carousels with scroll-snap, lazy images with loading=lazy, downloads with the download attribute, accordions with <details>/<summary>, and modals using <dialog> with showModal (dialog needs a tiny bit of JS for invocation). Polypane runs many experimental features.

AI-written summary · about

  1. 0:00Introduction and rule of least power
  2. 3:57Custom toggles with CSS
  3. 12:15Built-in form features
  4. 16:15Native smooth scrolling
  5. 20:12Scroll margin and target highlights
  6. 23:06Sticky positioning
  7. 25:19Scroll snapping for carousels
  8. 28:52Lazy loading and PDF downloads
  9. 30:21Native accordions with details
  10. 33:13Dialog elements for modals
  11. 37:52Upcoming CSS features preview
  12. 45:24Future of browser-native development
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.