CloseButton
CloseButton is a component used primarily to trigger the close functionality of a component.
CloseButton
follows the WAI-ARIA - Button Pattern for accessibility.
ARIA Roles and Attributes
Component | Roles and Attributes | Usage |
---|---|---|
CloseButton | role="button" | Indicates that it is a button. |
aria-label="Close" | Sets "Close" as the label. |
Edit this page on GitHub