Glossby Tringify
PagesMotion and accessibility
  1. Getting started with Gloss
  2. Colours, type and layout
  3. Header and footer
  4. The home page
  5. Product pages
  6. Collections and filters
  7. Bag and checkout
  8. Pop-ups, gates and banners
  9. Product data
  10. Languages
  11. Motion and accessibility
  12. Reference: sections
  13. Reference: theme blocks
  14. Reference: theme settings

Motion and accessibility

Motion

Theme settings → Motion has three levels:

  • Full: sections fade in as they scroll into view, the wordmark rises, hero stars turn and follow the cursor, product cards fan out, and buttons and drawers move.
  • Subtle: sections fade in without sliding up; everything else moves as in Full.
  • Off: nothing moves, and cards do not fan out.

Each section also has its own Fade in on scroll setting.

Whatever you choose, shoppers who have asked their device to reduce motion see Gloss without movement: the hero is still, cards do not fan, slideshows and scrolling text stop, and videos do not play by themselves.

Built in

  • Every drawer, pop-up and menu can be closed with Escape, keeps keyboard focus inside while open, and returns focus to the button that opened it. Closing a drawer returns the page to where the shopper was.
  • Buttons and links on phones are at least 44 pixels tall, and form fields use 16-pixel text so phones do not zoom in.
  • Icon buttons have names for screen readers. Counts on the bag and wishlist are hidden while they are zero.
  • Images use the descriptions you give them. Decorative stars and shapes are hidden from screen readers.
  • Errors appear beside the button or field that caused them and are announced to screen readers.
  • Pages work from 360 pixels wide without sideways scrolling.

Your part

  • Write image descriptions for photos that carry meaning (a product in use, a look) in the image settings.
  • Keep enough contrast between text and background when you change colour schemes. The schemes that ship with Gloss meet WCAG AA for body text.
  • Use the Heading size settings to show importance rather than writing headings in capitals.