Skip to content

Commit 7162f97

Browse files
authored
docs(datepicker): add an example
1 parent 66335a1 commit 7162f97

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

controls/datepicker/accessibility-and-internationalization/wai-aria-support.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ position: 6
1111
# WAI-ARIA Support
1212

1313

14-
The **RadDatePicker** control offers **WAI-ARIA** support which can be easily enabled by setting the **EnableAriaSupport** server property to **true**.
14+
The **RadDatePicker** control offers **WAI-ARIA** support which can be easily enabled by setting the **EnableAriaSupport** server property to **true**, e.g.
15+
16+
````ASP.NET
17+
<telerik:RadDatePicker RenderMode="Lightweight" Width="100%" ID="RadDatePicker1" runat="server" EnableAriaSupport="true" EnableKeyboardNavigation="true">
18+
<Calendar ID="Calendar1" runat="server" EnableAriaSupport="true"></Calendar>
19+
<DateInput ToolTip="Date input" runat="server" Label="Delivery date"></DateInput>
20+
</telerik:RadDatePicker>
21+
````
1522

1623
All ARIA attributes are **lower case**. They are shown in the table below.
1724

0 commit comments

Comments
 (0)