AX_ARIA_09
This code example is taken from the Accessibility Developer Tool Documentation
Example Begin
Rainbow Trout
Brook Trout
Lake Trout
Example End
Code for this Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Bad: the listitem role must be owned by an element with role list --> | |
<div> | |
<span role="listitem">Rainbow Trout</span> | |
<span role="listitem">Brook Trout</span> | |
<span role="listitem">Lake Trout</span> | |
</div> |