This is a migrated thread and some comments may be shown as answers.

Disabled button in toolbar is not marked as aria-disabled

1 Answer 141 Views
Toolbar
This is a migrated thread and some comments may be shown as answers.
Byang
Top achievements
Rank 1
Byang asked on 22 Apr 2016, 09:07 AM

Hiya,

I was trying to disable a button inside a toolbar using the code below (code snippet from http://demos.telerik.com/kendo-ui/toolbar/api ):

$(".toggleRepeat").click(function() {
    var toolbar = $("#toolbar").data("kendoToolBar"),
        repeatButton = $("#repeat"),
        isDisabled = repeatButton.hasClass("k-state-disabled");
 
    toolbar.enable(repeatButton, isDisabled);
});

After looking at the developer tools and inspecting the said button, I noticed it is not marked as aria-disabled. Is there a way to achieve this?

Kind regards, Byang

1 Answer, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 26 Apr 2016, 07:43 AM
Hi Byang,

Your approach is correct. This is a bug on our side which we will try to fix as soon as possible. You may follow the issue status using this link.


Regards,
Alexander Valchev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Toolbar
Asked by
Byang
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Share this question
or