FileButton
FileButton
is a button component used for users to select files.
When using only icons in FileButton
, set aria-label
for the FileButton
.
<FileButton as={IconButton} icon={<Plus />} aria-label="File upload" />
ARIA Roles and Attributes
Component | Roles and Attributes | Usage |
---|---|---|
FileButton | role="button" | Indicates that it is a button. |
Edit this page on GitHub