Checkbox input examples

input type='checkbox' with no accessible name and role="presentation" - Correct

input type='checkbox' with aria-labelledby pointing to valid ID - Correct

This is a label

input type='checkbox' with aria-labelledby pointing to invalid ID - Fail

Here is another label

input type='checkbox' with aria-labelledby pointing to valid ID but container is empty - Fail

input type='checkbox' with aria-labelledby pointing to '' - Fail

input type='checkbox' with aria-label - Correct

input type='checkbox' with no label - Fail

input type='checkbox' with label-for pointing to valid ID - Correct

input type='checkbox' with label-for pointing to invalid ID - Fail

input type='checkbox' with title - Correct

span role='checkbox' with aria-labelledby pointing to valid ID - Correct

This is a label

span role='checkbox' with aria-labelledby pointing to invalid ID - Fail

Here is another label

span role='checkbox' with aria-labelledby pointing to valid ID but container is empty - Fail

span role='checkbox' with aria-labelledby pointing to '' - Fail

span role='checkbox' with aria-label - Correct

span role='checkbox' with no label - Fail

span role='checkbox' with label-for pointing to valid ID - Fail

span role='checkbox' with label-for pointing to invalid ID - Fail

span role='checkbox' with title - Correct

span role='checkbox' with text in the body - Correct

This is some text

span role='checkbox' with tabindex="0" - Pass

checkbox From SPAN

span role='checkbox' with tabindex="-1" - Pass

checkbox From SPAN

span role='checkbox' with tabindex="-456" - Pass

checkbox From SPAN

span role='checkbox' with tabindex="2" - Fail

checkbox From SPAN

span role='checkbox' with tabindex="2" and disabled attribute - Pass

checkbox From SPAN

span role='checkbox' with tabindex="2" and aria-disabled="true" - Pass

checkbox From SPAN

input type='checkbox' with title and onclick handler - Correct