UNPKG

@progress/wct-a11y-spec

Version:

Contains accessibility and keyboard navigation specification of Telerik and Kendo web components.

18 lines (11 loc) 1.19 kB
## Managing the Focus The FileSelect component contains a single or multiple tab stops depending on its content. When there are selected files present, the file list is a separate tab stop, implementing roving tab index (only one item is focusable and it is changed dynamically based on navigation). - When a selected file is deleted, the focus is moved to the next file (if present), the previous one (if there is no next, and there is previous), or to the `Select Files` button if there are no files left in the list. ## Keyboard Shortcuts | Shortcut | Behavior | | -------- | -------- | | Tab | Moves the focus between the Select File button and the list items (when present). | | Space/Enter | Opens the Select file dialog if the Select files button is focused. | | DownArrow | Highlights the next file in the file list if present. | | UpArrow | Highlights the previous file in the file list if present. | | Delete | Removes the highlighted file when the focus is on a file list item. Focus is moved to the next file list item (if present), the previous one (if there is no next, and there is previous), or to the Select Files button if the last file list item is deleted. |