Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Menu with ARIA roles
<ul class="c-menu" aria-role="listbox">
<li class="c-menu__item" role="option">
<span class="c-color__swatch"></span>
<span class="c-color__label">Color name</span>
</li>
<li class="c-menu__item" role="option">
<span class="c-color__swatch"></span>
<span class="c-color__label">Color name</span>
</li>
<li class="c-menu__item" role="option">
<span class="c-color__swatch"></span>
<span class="c-color__label">Color name</span>
</li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.