Button
Component preview
A named control that performs an action in the current interface when activated.
Build pack
Choose the task and destination. Technical names stay in English.
In your own words
Documented aliases: action button, CTA button, submit button
Try it
Compare all three behaviors
Shared comparison scenario:
This context stays fixed. Switch concepts to observe the mission, edge case, and specimen specific to each behavior.
Button
Button performs an action; Link navigates to a destination, while Icon button is the compact button variant whose visible label is replaced by an icon.
Your task
Activate Save with Space, verify the pending state blocks a second request, and recover from a server error.
Edge case to verify
During submission, the button preserves its width, exposes Saving, and blocks duplicate activation without removing focus.
Mission
Activate Save with Space, verify the pending state blocks a second request, and recover from a server error.
Subject: Weekly summary
Select a marker directly on the specimen, or use the list below, to see its role. Hide the markers to operate the lab without obstruction.
Control
The interactive element that receives input and exposes state.
Run an action
Pointer, Enter, or Space activation runs one named action exactly once.
Mark the region busy
The content region exposes its busy state while a separate visual indicator remains redundant.
Save idle
Save idle
Save pending
Save pending
Save error
Save error
Save successful
Save successful
Save idle → Save pending
Enter, Space, pointer, or touch activates Save exactly once.
Save pending → Save error
The save request fails and exposes a retryable error without duplicating the request.
Save error → Save pending
Activating Retry starts one new save request while retaining focus and stable width.
Save pending → Save successful
The save request succeeds and exposes the completed result without a second activation.
Save successful → Save idle
Reset restores the replayable example to its initial Save state.
button[type=button|submit|reset]
Equivalence caveat: Button performs an action. Navigation belongs to a link, and the type attribute prevents accidental form submission.
Verify binding sourceWHATWG · standard · 2026-07-16
Claim covered: Button: native button types, activation, disabled state, and form behavior.
W3C WAI · standard · 2026-07-16
Claim covered: Button: button naming, activation semantics, and Enter or Space keyboard behavior.
Verified on 2026-07-16 · rev. 1