Skip to content

Commit 2b74e26

Browse files
committed
address spelling review
1 parent cb10c42 commit 2b74e26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/data/material/components/tooltips/tooltips.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ For example, in:
3131
```
3232

3333
the `title` acts as an accessible description.
34-
If you want the tooltip to act as an accessible description you can pass `describeChild`.
34+
If you want the tooltip to act as an accessible description, you can pass `describeChild`.
3535
Note that you shouldn't use `describeChild` if the tooltip provides the only visual label. Otherwise, the child would have no accessible name and the tooltip would violate [success criterion 2.5.3 in WCAG 2.1](https://www.w3.org/WAI/WCAG21/Understanding/label-in-name.html).
3636

37-
Consequently, if the trigger already has either visible text or an `aria-label`, use the tooltip as a description and pass the `describeChild` prop. Otherwise, use the default behaviour and let the tooltip label the trigger.
37+
Consequently, if the trigger already has either visible text or an `aria-label`, use the tooltip as a description and pass the `describeChild` prop. Otherwise, use the default behavior and let the tooltip label the trigger.
3838

3939
{{"demo": "AccessibilityTooltips.js"}}
4040

0 commit comments

Comments
 (0)