a11y-todos

Expand History Expand History
Collapse History Collapse History

Announce selected Task count

Declare an <output> element within the <form>, and keep it updated with the number of <input type="checkbox" checked> elements.

According to the documentation:

Many browsers implement this element as an aria-live region. Assistive technology will thereby announce the results of UI interactions posted inside it without requiring that focus is switched away from the controls that produce those results.

This provides a mechanism to communicate to Screen Readers the number of Task records that are ready to be operated on in bulk.