Facets
v0.64.0, changelogThe facet column beside a catalog or table: checkbox groups with counts and "Show all N", pinned under the shell's bar; FacetsDrawer opens the same list in a bottom sheet on phones.
Roles
What a screen reader is told each part is, measured in the examples on the Overview tab.
buttoncheckboxgroup
- Follows the WAI-ARIA pattern Button.
Keyboard
| Keys | Action |
|---|---|
| Tab | Move through the options of every facet, then its Show all; in the drawer, on to Clear all and Done |
| Space | Turn the focused option on or off |
| Enter / Space | On Show all N: unfold the facet and move to the first option it shows; on Show fewer: fold it again |
| Esc | Close the drawer and return to its button |
Colour contrast
Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.
- TextLabels, values, bodyWCAG 1.4.3 Contrast (Minimum)Needs 4.5:1Light 17.3:1Dark 17.3:1
- Secondary textHints, meta, captionsWCAG 1.4.3 Contrast (Minimum)Needs 4.5:1Light 6.7:1Dark 7.0:1
- Keyboard focus ringFocus visible, on every control in itWCAG 1.4.11 Non-text ContrastNeeds 3:1Light 17.3:1Dark 17.3:1