Patterns - AutoSponge/dev-notes GitHub Wiki

Other

Collections

On the topic of pattern collections and accessibility testing.

Testing (Accessibility)

Cookie Consent (banner)

Infographics

Maps

Data Visualizations

For each focusable or interactive SVG element, add a tabindex attribute, a role attribute, and an accessible name (via an aria-label attribute or a <title> element).

Skeleton

Multi-function button

Input type

Ratings

Comment Thread/Discussion

Tree (Treeview)

Menu

Map

Chat (log)

Autocomplete

Carousel

"Drop-down"

Validation Errors

Snackbar

Tooltip

Drag and Drop

Table

Cards

Focus Management

Hamburger

Hamburger Design Checklist

  1. — Can we avoid a hamburger icon and show navigation as is?
  2. — If not, what icon do we choose to indicate navigation?
  3. — Is the icon + padding large enough for comfortable tapping?
  4. — Will the icon be at top right, bottom right or floating?
  5. — Can we push the icon down by placing logo on the top?
  6. — What happens when the user clicks/taps on the icon?
  7. — Will nav items appear as full page/partial overlay or slide-in?
  8. — If we use slide-in, do they appear above or below the header?
  9. — How will the icon change on tap or on click?
  10. — Will we have some sort of animation or transition on click?
  11. — What happens when the user opens both search and hamburger?
  12. — Do we expose critical navigation by default on desktop/mobile?
  13. — Can users tap on the same spot to open/close navigation?

Modal

Notification

Switch

Calendar/Date Picker

Accordion (disclosure)

Tabs

⚠️ **GitHub.com Fallback** ⚠️