New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Keyboard Navigation

Keyboard navigation provides all web and app users with a fast keyboard-only navigation capability and is also part of the web accessibility features–it enables users with disabilities to fully control their website or app access through the keyboard.

By default, users can only navigate to links, buttons, and form controls with a keyboard. The navigation order in which interactive items receive keyboard focus has to be logical and intuitive. Generally, keyboard navigation logic needs to follow the visual horizontal and vertical flow of the page, for example, left to right and top to bottom, header first followed by the main and then the page navigation.

The keyboard navigation of the Kendo UI for jQuery OTP Input is always available as demonstrated in this demo.

  • DefaultVB.aspx
  • DefaultVB.aspx.vb
  • script.js
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="DefaultVB.aspx.vb"  Inherits="OTPInput_Accessibility_and_Internationalization_KeyboardSupport_DefaultVB" %>

<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head runat="server">
    <title>Telerik ASP.NET Example</title>
    <script src="script.js"></script>
</head>

<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" ShowChooser="true" />
    <div class="demo-container no-bg flex-center" runat="server">
        <telerik:RadOTPInput ID="OTPInput1" runat="server" Separator="-">
            <Items>
                <telerik:OTPInputItem GroupLength="3" />
                <telerik:OTPInputItem GroupLength="2" />
                <telerik:OTPInputItem GroupLength="3" />
            </Items>
        </telerik:RadOTPInput>
    </div>
    </form>
</body>
</html>

Support & Learning Resources

Find Assistance