RadNumericTextBox - Define Spin Button Tooltip

2 posts, 0 answers
  1. Matt
    Matt avatar
    78 posts
    Member since:
    Mar 2009

    Posted 25 Feb 2015 Link to this post

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

  2. Daniel
    Daniel avatar
    4936 posts

    Posted 02 Mar 2015 Link to this post

    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'); }" />

    I hope this helps.


    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.

  3. Telerik UI for ASP.NET Core is out
Back to Top