Disabled button in toolbar is not marked as aria-disabled

2 posts, 0 answers
  1. Byang
    Byang avatar
    9 posts
    Member since:
    Nov 2015

    Posted 22 Apr 2016 Link to this post


    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

  2. Alexander Valchev
    Alexander Valchev avatar
    2895 posts

    Posted 26 Apr 2016 Link to this post

    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.

    Alexander Valchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top