Skip to content

Commit

Permalink
[docs] Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Oct 31, 2020
1 parent 19bd302 commit 4ea8e7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/pages/components/rating/rating.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The accessibility of this component relies on:
- Labels for the radio buttons containing actual text (“1 Star”, “2 Stars”, …).
Be sure to provide a suitable function to the `getLabelText` prop when the page is in a language other than English. You can use the [included locales](https://material-ui.com/guides/localization/), or provide your own.
- A visually distinct appearance for the rating icons.
By default, the rating component uses both a difference of color and shape (filled and empty icons)to indicate the value. In the event that you are using color as the only means to indicate the value, the information should also be also displayed as text, as in this demo. This is important to match [success Criterion 1.4.1](https://www.w3.org/TR/WCAG21/#use-of-color) of WCAG2.1.
By default, the rating component uses both a difference of color and shape (filled and empty icons) to indicate the value. In the event that you are using color as the only means to indicate the value, the information should also be also displayed as text, as in this demo. This is important to match [success Criterion 1.4.1](https://www.w3.org/TR/WCAG21/#use-of-color) of WCAG2.1.

{{"demo": "pages/components/rating/TextRating.js"}}

Expand Down

0 comments on commit 4ea8e7e

Please sign in to comment.