Skip to content

Instantly share code, notes, and snippets.

@jessebeach
Created February 2, 2017 20:09
Show Gist options
  • Save jessebeach/c0e24b409418f2ffdec6d60c36553f6e to your computer and use it in GitHub Desktop.
Save jessebeach/c0e24b409418f2ffdec6d60c36553f6e to your computer and use it in GitHub Desktop.
Interactive, non-interactive and indeterminate elements regarding ARIA roles
non-interactive elements
✓ should identify `a` as a non-interactive element (1ms)
✓ should identify `area` as a non-interactive element
✓ should identify `article` as a non-interactive element (1ms)
✓ should identify `dd` as a non-interactive element
✓ should identify `dfn` as a non-interactive element
✓ should identify `dt` as a non-interactive element
✓ should identify `fieldset` as a non-interactive element
✓ should identify `figure` as a non-interactive element
✓ should identify `frame` as a non-interactive element
✓ should identify `h1` as a non-interactive element
✓ should identify `h2` as a non-interactive element
✓ should identify `h3` as a non-interactive element
✓ should identify `h4` as a non-interactive element
✓ should identify `h5` as a non-interactive element
✓ should identify `h6` as a non-interactive element (1ms)
✓ should identify `hr` as a non-interactive element
✓ should identify `img` as a non-interactive element
✓ should identify `input[type="hidden"]` as a non-interactive element (2ms)
✓ should identify `li` as a non-interactive element
✓ should identify `main` as a non-interactive element
✓ should identify `nav` as a non-interactive element
✓ should identify `ol` as a non-interactive element (1ms)
✓ should identify `table` as a non-interactive element
✓ should identify `tbody` as a non-interactive element
✓ should identify `tfoot` as a non-interactive element
✓ should identify `thead` as a non-interactive element
✓ should identify `tr` as a non-interactive element (1ms)
✓ should identify `ul` as a non-interactive element
interactive elements
✓ should NOT identify `button` as a non-interactive element
✓ should NOT identify `option` as a non-interactive element (1ms)
✓ should NOT identify `select` as a non-interactive element
✓ should NOT identify `textarea` as a non-interactive element
✓ should NOT identify `a[href="#"]` as a non-interactive element
✓ should NOT identify `area[href="#"]` as a non-interactive element (1ms)
✓ should NOT identify `form` as a non-interactive element
✓ should NOT identify `input` as a non-interactive element (6ms)
✓ should NOT identify `input[type="button"]` as a non-interactive element (14ms)
✓ should NOT identify `input[type="checkbox"]` as a non-interactive element
✓ should NOT identify `input[type="color"]` as a non-interactive element
✓ should NOT identify `input[type="date"]` as a non-interactive element
✓ should NOT identify `input[type="datetime"]` as a non-interactive element (1ms)
✓ should NOT identify `input[type="email"]` as a non-interactive element
✓ should NOT identify `input[type="file"]` as a non-interactive element
✓ should NOT identify `input[type="image"]` as a non-interactive element
✓ should NOT identify `input[type="month"]` as a non-interactive element
✓ should NOT identify `input[type="number"]` as a non-interactive element (1ms)
✓ should NOT identify `input[type="password"]` as a non-interactive element
✓ should NOT identify `input[type="radio"]` as a non-interactive element
✓ should NOT identify `input[type="range"]` as a non-interactive element
✓ should NOT identify `input[type="reset"]` as a non-interactive element
✓ should NOT identify `input[type="search"]` as a non-interactive element
✓ should NOT identify `input[type="submit"]` as a non-interactive element
✓ should NOT identify `input[type="tel"]` as a non-interactive element
✓ should NOT identify `input[type="text"]` as a non-interactive element
✓ should NOT identify `input[type="time"]` as a non-interactive element
✓ should NOT identify `input[type="url"]` as a non-interactive element
✓ should NOT identify `input[type="week"]` as a non-interactive element (10ms)
indeterminate elements
✓ should NOT identify `abbr` as a non-interactive element
✓ should NOT identify `acronym` as a non-interactive element (1ms)
✓ should NOT identify `address` as a non-interactive element
✓ should NOT identify `applet` as a non-interactive element
✓ should NOT identify `aside` as a non-interactive element (1ms)
✓ should NOT identify `audio` as a non-interactive element
✓ should NOT identify `b` as a non-interactive element (1ms)
✓ should NOT identify `base` as a non-interactive element (1ms)
✓ should NOT identify `bdi` as a non-interactive element
✓ should NOT identify `bdo` as a non-interactive element (1ms)
✓ should NOT identify `big` as a non-interactive element
✓ should NOT identify `blink` as a non-interactive element
✓ should NOT identify `blockquote` as a non-interactive element
✓ should NOT identify `body` as a non-interactive element (1ms)
✓ should NOT identify `br` as a non-interactive element
✓ should NOT identify `canvas` as a non-interactive element
✓ should NOT identify `caption` as a non-interactive element
✓ should NOT identify `center` as a non-interactive element
✓ should NOT identify `cite` as a non-interactive element (9ms)
✓ should NOT identify `code` as a non-interactive element
✓ should NOT identify `col` as a non-interactive element
✓ should NOT identify `colgroup` as a non-interactive element
✓ should NOT identify `content` as a non-interactive element (1ms)
✓ should NOT identify `data` as a non-interactive element
✓ should NOT identify `datalist` as a non-interactive element
✓ should NOT identify `del` as a non-interactive element
✓ should NOT identify `details` as a non-interactive element (1ms)
✓ should NOT identify `dialog` as a non-interactive element
✓ should NOT identify `dir` as a non-interactive element
✓ should NOT identify `div` as a non-interactive element
✓ should NOT identify `dl` as a non-interactive element
✓ should NOT identify `em` as a non-interactive element
✓ should NOT identify `embed` as a non-interactive element
✓ should NOT identify `figcaption` as a non-interactive element
✓ should NOT identify `font` as a non-interactive element
✓ should NOT identify `footer` as a non-interactive element
✓ should NOT identify `frameset` as a non-interactive element
✓ should NOT identify `head` as a non-interactive element
✓ should NOT identify `header` as a non-interactive element (7ms)
✓ should NOT identify `hgroup` as a non-interactive element (1ms)
✓ should NOT identify `html` as a non-interactive element
✓ should NOT identify `i` as a non-interactive element (1ms)
✓ should NOT identify `iframe` as a non-interactive element
✓ should NOT identify `ins` as a non-interactive element
✓ should NOT identify `kbd` as a non-interactive element (1ms)
✓ should NOT identify `keygen` as a non-interactive element
✓ should NOT identify `label` as a non-interactive element
✓ should NOT identify `legend` as a non-interactive element
✓ should NOT identify `link` as a non-interactive element
✓ should NOT identify `map` as a non-interactive element (1ms)
✓ should NOT identify `mark` as a non-interactive element
✓ should NOT identify `marquee` as a non-interactive element
✓ should NOT identify `menu` as a non-interactive element
✓ should NOT identify `menuitem` as a non-interactive element (1ms)
✓ should NOT identify `meta` as a non-interactive element
✓ should NOT identify `meter` as a non-interactive element
✓ should NOT identify `noembed` as a non-interactive element
✓ should NOT identify `noscript` as a non-interactive element
✓ should NOT identify `object` as a non-interactive element (7ms)
✓ should NOT identify `optgroup` as a non-interactive element
✓ should NOT identify `output` as a non-interactive element (1ms)
✓ should NOT identify `p` as a non-interactive element (1ms)
✓ should NOT identify `param` as a non-interactive element (1ms)
✓ should NOT identify `picture` as a non-interactive element
✓ should NOT identify `pre` as a non-interactive element (1ms)
✓ should NOT identify `progress` as a non-interactive element
✓ should NOT identify `q` as a non-interactive element (1ms)
✓ should NOT identify `rp` as a non-interactive element
✓ should NOT identify `rt` as a non-interactive element
✓ should NOT identify `rtc` as a non-interactive element
✓ should NOT identify `ruby` as a non-interactive element (1ms)
✓ should NOT identify `s` as a non-interactive element
✓ should NOT identify `samp` as a non-interactive element
✓ should NOT identify `script` as a non-interactive element (2ms)
✓ should NOT identify `section` as a non-interactive element
✓ should NOT identify `small` as a non-interactive element (1ms)
✓ should NOT identify `source` as a non-interactive element
✓ should NOT identify `spacer` as a non-interactive element
✓ should NOT identify `span` as a non-interactive element (14ms)
✓ should NOT identify `strike` as a non-interactive element (1ms)
✓ should NOT identify `strong` as a non-interactive element
✓ should NOT identify `style` as a non-interactive element
✓ should NOT identify `sub` as a non-interactive element
✓ should NOT identify `summary` as a non-interactive element
✓ should NOT identify `sup` as a non-interactive element
✓ should NOT identify `td` as a non-interactive element (1ms)
✓ should NOT identify `th` as a non-interactive element
✓ should NOT identify `time` as a non-interactive element
✓ should NOT identify `title` as a non-interactive element
✓ should NOT identify `track` as a non-interactive element (1ms)
✓ should NOT identify `tt` as a non-interactive element
✓ should NOT identify `u` as a non-interactive element
✓ should NOT identify `var` as a non-interactive element
✓ should NOT identify `video` as a non-interactive element
✓ should NOT identify `wbr` as a non-interactive element
✓ should NOT identify `xmp` as a non-interactive element (1ms)
@vespaiach
Copy link

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment