Disabled button in toolbar is not marked as aria-disabled

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

    Posted 22 Apr Link to this post

    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

  2. Alexander Valchev
    Admin
    Alexander Valchev avatar
    2875 posts

    Posted 26 Apr 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.


    Regards,
    Alexander Valchev
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top