ARIA Patterns

Missing.css will style markup based on ARIA roles. We often reference the WAI-ARIA Authoring Practices.

ยง Tabs

Mark up your tabs using the tablist, tab and tabpanel roles appropriately โ€” see WAI: Tabs.

<div role="tablist">
  <button role="tab" aria-controls="servers" aria-active="true"
  <button role="tab" aria-controls="channels"
  <button role="tab" aria-controls="users"

<div id="servers"  role="tabpanel">...</div>
<div id="channels" role="tabpanel">...</div>
<div id="users"    role="tabpanel">...</div>

Last updated