pub fn task_checkbox_html(marker: Option<&MarkerType>) -> &'static strExpand description
The checkbox an HTML list item opens with when it is a task, nothing otherwise, inside
the <label> that names it: the item’s text, which task_checkbox_end_html closes the
label after, is the checkbox’s accessible name (a bare checkbox reads as “checkbox,
checked” and the text as another item). Written as well-formed XML (disabled="disabled",
a closed tag) because the same markup is packaged into EPUB XHTML chapters, which a
minimised attribute and an unclosed input would break in a strict reader. Shared by the
two HTML writers; html_item_checkbox reads it back, through the label.