ARIATemplate String(default: "Current focused ${valueType} is ${text}")

Specifies a template used to populate the value of the aria-label attribute of the currently focused cell of the calendar. The parameters available for the template are:

  • current - The current focused date.
  • valueType - The focused item value type - month, year and etc.
  • text - A text representing the focused value.

Example

<input id="datepicker" />
<script>
$("#datepicker").kendoDatePicker({
    ARIATemplate: ({ current }) => `Date: ${kendo.toString(current, 'G')}`
});
</script>
In this article