Skip to content

Commit

Permalink
chore: Add reduced-motion documentation to Spinner (microsoft#25561)
Browse files Browse the repository at this point in the history
* chore: Add reduced-motion documentation to Spinner

* change file
  • Loading branch information
tomi-msft authored and Hotell committed Feb 9, 2023
1 parent 63aedae commit 6794f87
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Add documentation for Spinner when reduced-motion is active",
"packageName": "@fluentui/react-spinner",
"email": "[email protected]",
"dependentChangeType": "patch"
}
2 changes: 2 additions & 0 deletions packages/react-components/react-spinner/Spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,5 @@ The Spinner is non-interactive.
- **Touch** - Nothing

## Accessibility

When reduced motion, is active the `indeterminate` `Spinner` will rotate once and then stop animating.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- Use one Spinner at a time.
- Descriptive verbs are appropriate under a Spinner to help the user understand what's happening. Ie: Saving, processing, updating.
- Use a Spinner when confirming a change has been made or a task is being processed.
- Add a description to a Spinner when reduced-motion is active

### Don't

Expand Down

0 comments on commit 6794f87

Please sign in to comment.