a11y-todos

Expand History Expand History
Collapse History Collapse History

Open Bulk Action <form> modally

When a Task element’s corresponding <button> element is clicked, open the Bulk Action <form> element, nested within the page’s <dialog> element.

Annotate the <button> elements with a [data-bulk-value] attribute, so that the Bulk.select action can infer the first <input type="checkbox"> element within its <form> to both set checked = true and call [.focus() on][mdn-focus].

Rely on the Tethered Stimulus controller to absolutely position the <dialog> element’s descendant <input type="checkbox"> elements overlaid on top of their associated <button data-action~="click->bulk#select"> elements.