Elements with different roles

Span with role="checkbox" and no innerText - Fail

Span with role="checkbox" and innerText - Pass

Checkbox

Span with tole="checkbox" and aria-label - Pass

Span with role="radio" and no innerText - Fail

Span with role="radio" and innerText - Pass

Radio

Span with role="radio" and aria-label - Pass

Span with role="slider" aria-valuemax, aria-valuemin and aria-valuenow - Fail

Slider

Span with role="slider" aria-label, aria-valuemax, aria-valuemin and aria-valuenow - Pass

Slider

Span with role="slider" tabindex="0" aria-label, aria-valuemax, aria-valuemin and aria-valuenow - Pass

Slider

Span with role="slider" tabindex="-1" aria-label, aria-valuemax, aria-valuemin and aria-valuenow - Pass

Slider

Span with role="slider" tabindex="-456" aria-label, aria-valuemax, aria-valuemin and aria-valuenow - Pass

Slider

Span with role="slider" tabindex="2" aria-label, aria-valuemax, aria-valuemin and aria-valuenow - Fail

Slider

Span with role="slider" tabindex="2", disabled attribute, aria-label, aria-valuemax, aria-valuemin and aria-valuenow - Pass

Slider

Span with role="slider" tabindex="2", aria-disabled="true", aria-label, aria-valuemax, aria-valuemin and aria-valuenow - Pass

Slider

Span with role="textbox" - Fail

Textbox

Span with role="textbox" and aria-label - Pass

Textbox

Span with role="textbox" and tabindex="0" - Pass

Textbox

Span with role="textbox" and tabindex="-1" - Pass

Textbox

Span with role="textbox" and tabindex="-456" - Pass

Textbox

Span with role="textbox", tabindex="2" and disabled attribute - Pass

Textbox

Span with role="textbox", tabindex="2" and aria-disabled="true" - Pass

Textbox

Span with role="textbox" and tabindex="2" - Fail

Textbox

Span with role="combobox" - Fail

Combobox

Span with role="combobox" and aria-label - Pass

Combobox

Span with role="button" and no innerText - Fail

Span with role="button" and innerText - Pass

Button

Span with role="button" and aria-label - Pass

Span with role="spinbutton" - Fail

Span with role="spinbutton" and innerText- Fail

SpinButton

Span with role="spinbutton" and label for pointing to it - Fail

Span with role="spinbutton" and aria-label - Pass

Span with role="spinbutton" and title - Pass

Span with role="spinbutton" and aria-labelledby - Pass

This is a label

Span with role="spinbutton" and tabindex="0" - Pass

Span with role="spinbutton" and tabindex="-1" - Pass

Span with role="spinbutton" and tabindex="-456" - Pass

Span with role="spinbutton" and tabindex="2" - Fail

Span with role="spinbutton", tabindex="2", disabled attribute - Pass

Span with role="spinbutton", tabindex="2", aria-disabled="true" - Pass

Span with role="dialog" and sufficiently long description - Pass

Span with role="dialog" and short description - Fail

Span with role="switch" and aria-checked attribute - Pass

Span with role="switch" and no aria-checked attribute - Fail

input type=checkbox with role="switch" and no aria-checked attribute - Pass