# Keyboard Navigation

The keyboard navigation of the DateInput is always available.

To focus the widget, use the key combination of [Access key](https://en.wikipedia.org/wiki/Access_key) and the key specified through the `HtmlAttributes` method.

```Razor HtmlHelper
    @(Html.Kendo().DateInput()
        .Name("dateinput")
        .HtmlAttributes(new { accesskey = "w" }) //Access key + "w" will focus the DateInput
    )
```

```Razor TagHelper
    <kendo-dateinput name="dateinput" accesskey="w">
    </kendo-dateinput>
```

For a complete example, refer to the [demo on keyboard navigation of the DateInput](https://demos.telerik.com/aspnet-core/dateinput/keyboard-navigation).

## See Also

* [Custom Keyboard Navigation in the DateInput for ASP.NET Core](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/dateinput/accessibility/custom-keyboard-navigation)
* [Keyboard Navigation in the DateInput HtmlHelper for ASP.NET Core (Demo)](https://demos.telerik.com/aspnet-core/dateinput/keyboard-navigation)
* [Accessibility in the DateInput HtmlHelper for ASP.NET Core](https://www.telerik.com/aspnet-core-ui/documentation/html-helpers/editors/dateinput/accessibility/overview)
