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.
To get the actual behavior of an accessible tabset, you can use Missing.js § Tabs.
This is tab 1. JavaScript sold separately!
You are enjoying tab 2.
Use menu
and menuitem
roles — see WAI: Menu.
To get the actual behavior of an accessible menu, you can use Missing.js § Menu.
§ Listbox
Use listbox
and option
ARIA roles. WAI: Listbox.
Any element with the toolbar
role will have the same styles as a .tool-bar
.
The fiex direction will be set based on aria-orientation
.
§ Feed
Use feed
role with <article/>
children — see WAI: Feed. Nested feeds are supported.
To get the actual behavior of an accessible feed, you can use Missing.js § Feed.