WAI-ARIA: Can I assign a custom aria-label to a Grid's numerical paging controls?

2 posts, 1 answers
  1. A
    A avatar
    41 posts
    Member since:
    Nov 2015

    Posted 13 Oct 2016 Link to this post

    I feel this is more a feature request than a support question:

    When I'm having an accessibility tool like JAWS read the numerical pager (see screenshot attached),
    it reads: "1 : Link", "2 : Link" etc. (and "Dot dot dot : Link" for any GridLinkButton with that text.)

    I want it to read a custom message, like "Go to page {0}", either in the corresponding GridLinkButton's title or aria-label attribute. The custom text should preferably be retrieved from GlobalResources.

    And I want to be able to provide a separate custom text for the [...] GridLinkButtons, too.

    How can I do that without walking the RadGrid pager's Controls tree manually?

  2. Answer
    Daniel avatar
    4949 posts

    Posted 14 Oct 2016 Link to this post


    I'm posting the answer I have provided to your support ticket here, so that it is available to the community:

    "Localization of the accessibility strings through global resources is not possible at this point. You may fill a feature request in our portal. The immediate solution would be to use a pager template. It is quite easy for implementation and this way you will be able to localize all properties using your resource files.
    The same solution applies to the command item and its buttons. In both cases you can setup both the pager and the command item to look in the same way as the built-in items.
    Let me know if you need any assistance with the templates setup."

    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top