Skip to content
Gallery
State of HTML Planning
Share
Explore
Survey Outline

icon picker
Interactivity

Interactive widgets, events, DOM manipulation
Last edited 338 days ago by S G

info
Legend: ✅ Definitely keep 🔶 Not sure yet ❌ Likely Remove


Which of the following events have you used?

openfind
overscroll
scrollend
input
paste
visibilitychange
hashchange
🚫 None of the above

Which of the following have you used?

element.addEventListener(event, callback)
element.dispatchEvent()
new CustomEvent()
once option in addEventListener()
passive option in addEventListener()
signal option in addEventListener()
🚫 None of the above

Which of the following DOM methods have you used?

element.innerHTML | element_innerhtml
element.textContent | element_textcontent
element.insertAdjacentHTML() | element_insert_adjacent_html
element.insertAdjacentElement() | element_insert_adjacent_element
element.append() | element_append
element.appendChild() | element_append_child
element.before() and/or element.after() | element_before_after
element.replaceWith() | element_replace_with
element.replaceChild() | element_replace_child
element.replaceChildren() | element_replace_children
element.toggleAttribute() | element_toggle_attribute
🚫 None of the above

Interactivity

What do you use to manipulate the DOM client-side and/or add interactivity?
Using the DOM directly
Web Components
JS Frameworks (VueJS, React, htmx etc)
DOM manipulation libraries (jQuery etc)
N/A

Feature questions

(Format: )
Question
id
Focus area
Type
Status
Discussion
Upvotes
In Part 1
1
<dialog>
dialog_element
Interactivity
HTML element
Stable
77
Yes
2
Popover API
<div popover>
popover_api
Interactivity
HTML attribute
JS API
CSS
Cutting Edge
74
Yes
3
<details> / <summary>
details_element
Interactivity
HTML element
Stable
49
Yes
4
inert attribute
inert_attribute
Interactivity
HTML attribute
Recent
44
Yes
5
DOM Parts
dom_parts
Interactivity
HTML element
Future
25
Yes
6
focusgroup attribute
focusgroup_attribute
Accessibility
Interactivity
HTML attribute
Future
18
Yes
7
Exclusive accordion (<details name=”...”>)
accordion_element
Interactivity
HTML element
Future
18
Yes
8
Navigation API
navigation_api
Interactivity
JS API
Cutting Edge
16
Maybe
No results from filter

What are your pain points around interactivity & HTML?

This includes things like events, DOM manipulation etc.

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.