Intent to Prototype: Declarative scroll commands for HTMLButtonElement

74 views
Skip to first unread message

Chromestatus

unread,
Nov 12, 2025, 9:34:40 PM (7 hours ago) Nov 12
to blin...@chromium.org, sakh...@chromium.org
Contact emails
sakh...@chromium.org

Explainer
https://github.com/danielsakhapov/declarative-scroll-commands-for-html-explainer

Specification
No information provided

Summary
A set of new `command` values for the `HTMLButtonElement` to declaratively control the scroll position of a target element. This allows authors to create custom scrolling UI (e.g., for carousels or galleries) without requiring JavaScript, improving accessibility and simplifying implementation.

Blink component
Blink>HTML

Web Feature ID
Missing feature

Motivation
Authors frequently build custom components that contain a scrollable region, such as: A horizontal carousel of products or images. A vertically scrolling list of items within a modal. A 2D scrolling area for a map or canvas. These components almost always require custom "Next," "Previous," "Up," or "Down" buttons. Currently, authors must write JavaScript to wire these buttons up. This proposal moves this common, repetitive behavior into the platform, making it declarative, robust, and accessible by default.

Initial public proposal
https://github.com/openui/open-ui/issues/1220

Requires code in //chrome?
False

Tracking bug
https://g-issues.chromium.org/issues/457939344

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/6400108400869376?gate=6716412206907392

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages