~/talk

I Can't Believe It's Not JavaScript!

Talkat jsday 2025 · 2025-04-07..04-08· [web-platform, web-performance]
slides:none on file

Claim: reduce JavaScript dependency by replacing common widgets with native HTML/CSS and still get focus management, keyboard behavior and faster rendering. Demos show a theme switcher using :has pseudo-selector, accordions using details element (including grouped toggles via name), modals using the popover attribute, and scroll-driven effects with CSS animation timeline and calc size auto / starting style; most demos work now, a few features have limited support.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Origins and purpose
  3. 3:51JavaScript’s dominance risks
  4. 6:20Reducing JS dependency
  5. 7:23Demo: Dark mode switcher
  6. 9:49When to use JavaScript
  7. 10:53Demo: CSS accordion
  8. 13:20Why native HTML features
  9. 15:29Demo: Auto-toggle accordion
  10. 16:53Demo: CSS height transitions
  11. 18:15Demo: Modal implementation without JavaScript
  12. 21:25Demo: CSS modal with backdrop
  13. 22:51Demo: Modal with target selector
  14. 24:40Demo: CSS scroll animations
  15. 26:09CSS scroll animation benefits
  16. 28:38Future CSS features
  17. 29:42Feedback and closing remarks
~/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.