Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Scroll Buttons #1054

Open
1 task done
xiaochengh opened this issue Feb 20, 2025 · 1 comment
Open
1 task done

CSS Scroll Buttons #1054

xiaochengh opened this issue Feb 20, 2025 · 1 comment

Comments

@xiaochengh
Copy link

こんにちは TAG-さん!

(Split from #1037. Original requester @flackr)

I'm requesting a TAG review of CSS Scroll Buttons.

Carousels are an often used design pattern on the web. They are used in a variety of contexts, from product listing pages to slideshow like content. OpenUI has explored a range of carousel designs, showing that the specific layout and appearance can vary dramatically. They are also provided by many frameworks as components, however implementing a carousel correctly is complicated and often results in inconsistent and sometimes inaccessible implementations.

There are a variety of problems being solved by carousels, which we believe could be provided by a set of CSS features. Developers could then combine these CSS features to create the various designs. CSS-only component libraries could be built to further simplify this process.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • Relevant time constraints or deadlines:
  • The group where the work on this specification is currently being done: CSSWG
  • The group where standardization of this work is intended to be done (if different from the current group):
  • Major unresolved issues with or opposition to this specification:
  • This work is being funded by:
@matatk
Copy link

matatk commented Feb 27, 2025

Hi @flackr, thanks for your review request (this is split off from your original thread), and for your replies on #1055.

Thank you for writing an Explainer for your proposal. However, we're unclear on a couple of things:

  1. Is it intended that the scroll buttons must be focused in order to scroll the carousel via the keyboard?

  2. Is it intended that scroll buttons will be provided as a way to style the scrolling mechanism for any scrollable region on the page (and/or the viewport itself) in future?

We are concerned that if the answer to both questions is 'yes' then scrolling would work very differently from a keyboard interaction point of view to how it does currently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants