Skip to content

Commit

Permalink
[docs] Fix typos in Base (Menu, Tabs) and Joy UI (Chip) (#34803)
Browse files Browse the repository at this point in the history
  • Loading branch information
rvrvrv committed Oct 17, 2022
1 parent 935f402 commit 6af4513
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/data/base/components/menu/menu-pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Note that `componentsProps` slot names are written in lowercase (`root`) while `
`MenuItemUnstyled` can set the following classes:

- `Mui-disabled` - set when the MenuItem has the `disabled` prop
- `Mui-focusVisible` - set when the MenuItem is highligthed via keyboard navigation. This is a polyfill for the native `:focus-visible` pseudoclass as it's not available in Safari.
- `Mui-focusVisible` - set when the MenuItem is highlighted via keyboard navigation. This is a polyfill for the native `:focus-visible` pseudoclass as it's not available in Safari.

## Hooks

Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/menu/menu-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ Note that `componentsProps` slot names are written in lowercase (`root`) while `
`MenuItemUnstyled` can set the following classes:

- `Mui-disabled` - set when the MenuItem has the `disabled` prop
- `Mui-focusVisible` - set when the MenuItem is highligthed via keyboard navigation. This is a polyfill for the native `:focus-visible` pseudoclass as it's not available in Safari.
- `Mui-focusVisible` - set when the MenuItem is highlighted via keyboard navigation. This is a polyfill for the native `:focus-visible` pseudoclass as it's not available in Safari.

## Hooks

Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/menu/menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Note that `componentsProps` slot names are written in lowercase (`root`) while `
`MenuItemUnstyled` can set the following classes:

- `Mui-disabled` - set when the MenuItem has the `disabled` prop
- `Mui-focusVisible` - set when the MenuItem is highligthed via keyboard navigation.
- `Mui-focusVisible` - set when the MenuItem is highlighted via keyboard navigation.
This is a polyfill for the native `:focus-visible` pseudoclass as it's not available in Safari.

## Hooks
Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/tabs/tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ The demos below illustrate the proper use of ARIA labels.

By default, when using keyboard navigation, the tab components open via **manual activation**—that is, the next panel is displayed only after the user activates the tab with either <kbd class="key">Space</kbd>, <kbd class="key">Enter</kbd>, or a mouse click.

This is the preferable behavior for tabs in most cases, acccording to [the WAI-ARIA authoring practices](https://www.w3.org/WAI/ARIA/apg/patterns/tabpanel/).
This is the preferable behavior for tabs in most cases, according to [the WAI-ARIA authoring practices](https://www.w3.org/WAI/ARIA/apg/patterns/tabpanel/).

Alternatively, you can set the panels to be displayed automatically when their corresponding tabs are in focus—this behavior of the selection following the focus is known as **automatic activation**.

Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/chip/chip-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Doing so will automatically change the rendered HTML tag from `<div>` to `<a>`.

### Clickable

To make chips clikcable, pass a function to the `onClick` prop.
To make chips clickable, pass a function to the `onClick` prop.

{{"demo": "ClickableChip.js"}}

Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/chip/chip.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Doing so will automatically change the rendered HTML tag from `<div>` to `<a>`.

### Clickable

To make chips clikcable, pass a function to the `onClick` prop.
To make chips clickable, pass a function to the `onClick` prop.

{{"demo": "ClickableChip.js"}}

Expand Down

0 comments on commit 6af4513

Please sign in to comment.