Testing accessibility console scripts

Highlight aria-invalid="true"

Highlight required and aria-required="true"

Highlight aria-hidden="true"

This content is not hidden.

Highlight aria-expanded

Highlight tabindex

This element has tabindex="-1"
This element has tabindex="0"
This element has tabindex="2"

Highlight visible label vs accessible name mismatch

Highlight roles that must never have author-provided names

The following are roles that cannot be named in ARIA 1.2.

caption

This element has a role of caption
This is the <caption> element
TH2 TH2
Cell1 Cell2

code

This element has a role of code
This is the <code> element

deletion

This element has a role of deletion
This is the <del> element

emphasis

This element has a role of emphasis
This this is the <em> element

generic

This is the <span> element, a generic element
This is the <div> element, a generic element

insertion

This element has a role of insertion
This is the <ins> element

paragraph

This element has a role of paragraph

This is the <p> element

presentation

This element has a role of presentation

strong

This element has a role of strong
This is the <strong> element

subscript

This element has a role of subscript
This is the <sub> element

superscript

This element has a role of superscript
This is the <sup> element

The following are roles that cannot be named in ARIA 1.3.

definition

This element has a role of definition
This is the <dfn> element

mark

This element has a role of mark
This is the <mark> element

none

This element has a role of none

suggestion

This element has a role of suggestion

term

This element has a role of term

time

This element has a role of time

tooltip

This element has a role of tooltip

invalid/made-up role

This element has a made-up role of fake
This element has a made-up role of madeup