HellipButton
readyNot reviewed for a11y
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.
Description
Use HellipButton
to render a button with a hellip. Often used for hidden text expanders.
Accessibility
Always set an accessible label to help the user interact with the component.
- This button is displaying a hellip as its content (The three dots character). Therefore a label is needed for screen readers.
- Set the attribute
aria-label
on the system arguments. E.g.Primer::Alpha::HellipButton.new("aria-label": "Expand next part")
Arguments
Name | Required | Description |
---|---|---|
inline | Boolean Whether or not the button is inline. | |
disabled | Boolean Whether or not the button is disabled. | |
system_arguments | Hash |