findCheckboxInListItem
Finds a <input type="checkbox"> element from a <li> element. It will stop
searching if it reaches a sub-list.
function findCheckboxInListItem(
node: Element,
depth?: number,
maxDepth?: number,
): HTMLInputElement | void;Finds a <input type="checkbox"> element from a <li> element. It will stop
searching if it reaches a sub-list.