Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Button usage.mdx #2829

Merged
merged 2 commits into from
Mar 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions src/pages/components/button/usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ interacts with it.
#### When to use

Use buttons to communicate actions users can take and to allow users to interact
with the page. Each page should have one primary button, and any remaining calls
with the page. Each page should have only one primary button, and any remaining calls
to action should be represented as lower emphasis buttons.

#### When not to use
Expand Down Expand Up @@ -594,18 +594,7 @@ Users can trigger a button by clicking anywhere within the button container.
#### Keyboard

Users can trigger a button by pressing `Enter` or `Space` while the button has
focus. For additional keyboard interactions, see the accessibility tab.

#### Screen readers

VoiceOver: Users can trigger a button by pressing `Enter` or `Space` while the
button has focus.

JAWS: Users can trigger a button by pressing `Enter` or `Space` while the button
has focus.

NVDA: Users can trigger a button by pressing `Enter` or `Space` while the button
has focus.
focus. For additional keyboard interactions, see the [accessibility tab](/components/button/accessibility).

## Modifiers

Expand Down