Update the keyboard support notes

This commit is contained in:
Tessa Kelly 2020-08-05 15:58:40 -07:00
parent 814fc0cc51
commit ca714c5775
2 changed files with 10 additions and 5 deletions

View File

@ -72,10 +72,15 @@ example =
, categories = [ Widgets, Layout ]
, atomicDesignType = Molecule
, keyboardSupport =
[ { keys = [ Enter ], result = "Select the focused control" }
, { keys = [ Space ], result = "Select the focused control" }
, { keys = [ Tab ], result = "Focus the next focusable element" }
, { keys = [ Tab, Shift ], result = "Focus the previous focusable element" }
[ { keys = [ KeyboardSupport.Tab ]
, result = "Move focus to the currently-selected Control's content"
}
, { keys = [ Arrow KeyboardSupport.Left ]
, result = "Select the Control to the left of the current selection"
}
, { keys = [ Arrow KeyboardSupport.Right ]
, result = "Select the Control to the right of the current selection"
}
]
}

View File

@ -107,7 +107,7 @@ example =
, atomicDesignType = Molecule
, keyboardSupport =
[ { keys = [ KeyboardSupport.Tab ]
, result = "Move focus to and from the currently-selected Tab"
, result = "Move focus to the currently-selected Tab's tab panel"
}
, { keys = [ Arrow KeyboardSupport.Left ]
, result = "Select the tab to the left of the currently-selected Tab"