Skip to content

Commit

Permalink
📝 Improved accessibility docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewMusgrave committed Oct 7, 2019
1 parent 9e768b8 commit d7e3b92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/Spinner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ function SpinnerWithFocusManagement() {

SVGs are often conveyed inconsistently to assistive technologies. The `Spinner` component's accessibility is also highly contextual. When the parent component is focusable, you'll need to set the `hasFocusableParent` prop for the appropriate `role` attribute to be applied.

For optimal user experience, make use of the accessibility label prop. It’ll allow assisted technology to provide context.

<!-- /content-for-->

---
Expand Down

0 comments on commit d7e3b92

Please sign in to comment.