Keyboard Support
A critical requirement for software accessibility is keyboard support as a complete
alternative to pointing devices (mouse, etc.).
Keyboard support is comprised of command key, focus key, and keyboard commands.
RadAsyncUpload will seamlessly switch between mouse and keyboard navigation.
In order to configure keyboard support with RadAsyncUpload its KeyboardNaviagationSettings should be set:
<telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" >
<KeyboardNavigationSettings CommandKey="Alt" FocusKey="M" DisablePlugins="true" />
</telerik:RadAsyncUpload>
Note: When Silverlight/Flash module is used it is not possible to have a keyboard navigation.
To disable them, DisablePlugins property should be set to true.
The KeyboardNavigationSettings exposes two properties to configure the keyboard combination that sets focus to the control:
- FocusKey An upper-case letter or number.
- CommandKey Ctrl , Alt, Shift, or any combination of two of these keys.
When there are multiple AsyncUpload controls on a given page, each of them may have a different activation combination.
In this particular example, the [CommandKey] and the [FocusKey] can be customized in the Demo Configurator.
Once the RadAsyncUpload has been focused (by pressing [CommandKey] + [FocusKey]):
- Open Select file context window by pressing Space.
- Navigate forward and backward among the loaded files (if any) by pressing respectively Tab or Shift + Tab.
- When uploaded file is selected, pressing Enter will remove it from the control.
Note: It is recommended to avoid [CommandKey] + [FocusKey] combinations matching keyboard shortcuts used in browsers.
If the combination coincides with an existing browser shortcut the control may be unable to focus.
Note: Keyboard support for RadAsyncUpload is available for Internet Explorer 10 and above.