Skip to content

Commit

Permalink
update_7
Browse files Browse the repository at this point in the history
  • Loading branch information
alina-jacob-ibm committed Sep 20, 2024
1 parent 96abdcf commit 12380fb
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/pages/components/menu/accessibility.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,14 @@ Use the `Up` and `Down` arrow keys to navigate between menu items.
</Column>
</Row>

Pressing `Space` or `Enter` on a focused menu item activates it and collapses the
menu. Pressing `Space` or `Enter` on a submenu opens it. A submenu can also be
opened and closed using the right and left arrow keys respectively. When the menu or
submenu is open, the first item takes focus. An activated menu item can have
different results depending on its functionality. If the item is a link, it launches
the selection. If the item is selectable, it selects or deselects the item. The menu
item retains its selected or unselected state when the menu is opened again.
Pressing `Space` or `Enter` on a focused menu item activates it and collapses
the menu. Pressing `Space` or `Enter` on a submenu opens it. A submenu can also
be opened and closed using the right and left arrow keys respectively. When the
menu or submenu is open, the first item takes focus. An activated menu item can
have different results depending on its functionality. If the item is a link, it
launches the selection. If the item is selectable, it selects or deselects the
item. The menu item retains its selected or unselected state when the menu is
opened again.

<Row>
<Column colLg={12}>
Expand All @@ -60,7 +61,8 @@ item retains its selected or unselected state when the menu is opened again.

<Caption>
Space and Enter keys activates, selects, or deselects the menu item with
focus. A submenu is opened and closed with the right and left arrow keys respectively.
focus. A submenu is opened and closed with the right and left arrow keys
respectively.
</Caption>

</Column>
Expand Down

0 comments on commit 12380fb

Please sign in to comment.