Mark the selected area with a fill
Default
Rule. Mark the selected area with a filled shape and bold text, in a tab bar, a rail, or a sidebar.
Why. A person must see where they are at a glance, even in glare or with weak color vision. See 15.7.
- Make the selected shape differ by form, not only by color.
- Keep selected-state contrast at 3 to 1 or more.
Do. The selected tab has a filled pill and bold text.
Don't. Nothing marks the current tab.
Figure. Tab bar: a filled pill and bold text.
Figure. Rail: a fill and a bold word.
Figure. Sidebar: a fill and bold text.