Skip to content

Commit

Permalink
docs: fix menu
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Feb 18, 2024
1 parent 9e71564 commit b2a8a40
Showing 1 changed file with 24 additions and 26 deletions.
50 changes: 24 additions & 26 deletions packages/docs/data/accessibility.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,32 +85,30 @@
},
"menu": {
"keyboard": [
[
{
"keys": ["Space"],
"description": "Activates/Selects the highlighted item"
},
{
"keys": ["Enter"],
"description": "Activates/Selects the highlighted item"
},
{
"keys": ["ArrowDown"],
"description": "Highlights the next item in the menu"
},
{
"keys": ["ArrowUp"],
"description": "Highlights the previous item in the menu"
},
{
"keys": ["ArrowRight", "ArrowLeft"],
"description": "<span>When focus is on trigger, opens or closes the submenu depending on reading direction.</span>"
},
{
"keys": ["Esc"],
"description": "Closes the menu and moves focus to the trigger"
}
]
{
"keys": ["Space"],
"description": "Activates/Selects the highlighted item"
},
{
"keys": ["Enter"],
"description": "Activates/Selects the highlighted item"
},
{
"keys": ["ArrowDown"],
"description": "Highlights the next item in the menu"
},
{
"keys": ["ArrowUp"],
"description": "Highlights the previous item in the menu"
},
{
"keys": ["ArrowRight", "ArrowLeft"],
"description": "<span>When focus is on trigger, opens or closes the submenu depending on reading direction.</span>"
},
{
"keys": ["Esc"],
"description": "Closes the menu and moves focus to the trigger"
}
]
},
"nested-menu": {
Expand Down

0 comments on commit b2a8a40

Please sign in to comment.