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

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

1 Answer 374 Views
Grid
This is a migrated thread and some comments may be shown as answers.
A
Top achievements
Rank 1
A asked on 13 Oct 2016, 02:43 PM

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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 14 Oct 2016, 08:04 AM
Hello,

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."

Regards,
Daniel
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.
Tags
Grid
Asked by
A
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or