style-guide
style-guide copied to clipboard
Accessibility improvements for Button
- documentation and tests added
- switched to default cursor
- Button stories rewritten to mdx
- has accessible information about loading state
- native button
type
can be set asnativeType
- with href (Button with href should have a role
link
and meet the accessibility requirements for the link):- has accessible information about opening a new tab when
target="_blank"
is provided -
disabled
is respected
- has accessible information about opening a new tab when
- documentation for toggle button
![Screenshot 2022-08-16 at 11 41 04](https://user-images.githubusercontent.com/60467496/184848991-01362b05-c686-477d-a190-58062ac4dca9.png)