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

RadNumericTextBox - Define Spin Button Tooltip

1 Answer 97 Views
Input
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 25 Feb 2015, 03:38 PM
Is there a way to assign a tooltip or otherwise uniquely identify the spin up / spin down buttons on a RadNumericTextBox?  (Nothing jumps out in the documentation as to how to accomplish this; searches have been fruitless thus far.)

When running JAWS against our application in assistive technology mode, the buttons show up in the JAWS Links List as "Spin Up" and "Spin Down" so that there's no indication of with which control they're associated (see attached).

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 02 Mar 2015, 02:44 PM
Hello Matt,

At this point, the only way possible to modify the aria label attribute values is with JavaScript code.
You can insert the aforementioned js code inline as shown below:
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" ShowSpinButtons="true" EnableAriaSupport="true">
    <ClientEvents OnLoad="function(s,a) { s.SpinUpButton.setAttribute('aria-label', s.get_id() + ' Spin Up'); }" />
</telerik:RadNumericTextBox>

I hope this helps.

Regards,
Daniel
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Input
Asked by
Matt
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or