primer / brand

React components and Primitives for GitHub marketing websites
https://primer.style/brand
MIT License
72 stars 32 forks source link

[modification request] Add pause button to Logobar #718

Open nsolerieu opened 2 months ago

nsolerieu commented 2 months ago

Problem

Solution

Bake in the component a (subtle) pause button

Image

See @jesussandreas design suggestion here

Urgency

@stamat already fixed this where it was a flagged by a11y as a critical issue - now it's time to update our system. SEV-2 a11y issue: https://github.com/github/accessibility-audits/issues/7881

rezrah commented 2 months ago

👋 @nsolerieu thanks for opening this request. A few quick questions / clarifications:

@stamat already fixed this where it was a flagged by a11y as a critical issue

It seems like the issue on that page was resolved by turning the marquee animation off. Do you have any examples of this feature having been implemented on a production page? No worries if not, just curious to see it in action.

stamat commented 2 months ago

@rezrah legend ✨ I'll try to respond to these, but @nsolerieu can fill in if I missed something!

Here are the three production pages where the quick play/pause solution was implemented to work with Logo Suite component with marquee option:

This new play/pause button should present a standard way to play/pause moving content across our pages. Much like Apple does.

stamat commented 2 months ago

Also here is the play/pause button I believe they want implemented https://githubnext.com/projects/copilot-workspace ✨

nsolerieu commented 2 months ago

+1 to all of @stamat points:

jesussandreas commented 2 months ago

@rezrah

Figma link to Mockup.