Unplanned
Last Updated: 13 Jul 2020 08:37 by ADMIN
Created by: Thomas
Comments: 0
Category: Button
Type: Feature Request
6

It lets the browser "click" the button without requiring initial focus first.

The following can be a workaround for the time being:

 

<TelerikButton OnClick="@OnSave" Primary="true">
    Save<span accesskey="S"></span>
</TelerikButton>

@code{
    async Task OnSave()
    {
        Console.WriteLine("saved");
    }
}

 

Unplanned
Last Updated: 16 Oct 2023 13:52 by Jayden
WCAG 4.1.2 was flagged by our accessibility checker due to the above redundancy. Disabled buttons have both "disabled" and aria-disabled="true" attributes.