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

RadDateInput and RadTimeInput WAVE validation

1 Answer 44 Views
Input
This is a migrated thread and some comments may be shown as answers.
neil
Top achievements
Rank 1
neil asked on 27 Jan 2014, 04:25 PM
 <asp:label ID="rtStartTimelbl" AssociatedControlID="rtStartTime" Runat="server" meta:resourcekey="rtStartTimelblResource1" Text="Start Time"></asp:label>
 <telerik:RadTimePicker ID="rtStartTime" Font-Size="Medium" SelectedDate='<%# setdefaultStartTime %>' DateInput-ID="rtStartTimeInput"  
                Runat="server" Culture="en-US" DateInput-DateFormat="M/d/yyyy" DateInput-DisplayDateFormat="M/d/yyyy" meta:resourcekey="rtStartTimeResource1">
                <DatePopupButton ImageUrl="/icons32/clock.png" HoverImageUrl="/icons32/clock.png"
                    CssClass="" />
            </telerik:RadTimePicker>

When I try to validate the page using WAVE, this code prompts an error of a missing label for the rtStartTime - I've tried just regular labels as well but still doesn't work.  I've read something about changing the AssociatedControlID to rtStartTime_Input but that didn't work either.  I'm using an older version of Telerik so perhaps this has been addressed in future versions but shouldn't this be straight forward?  What am I missing.

Thanks as always!

1 Answer, 1 is accepted

Sort by
0
Deyan Enchev
Telerik team
answered on 30 Jan 2014, 01:21 PM
Hi,

I am uncertain which exactly version of Telerik.UI are you using but still with the most recent versions WAVE validation error should not be occurring. Still there are two approaches you can try and let us know of the results:
  • Use AssociatedControlID="rtStartTime_DateInput" instead of AssociatedControlID="rtStartTime;
  • There is no explicit need of using an “external” label as the DatePicker and DateInput controls have a DateInput-Label property. It is meant to be used in scenarios where additional labels are needed.

In addition could you try reproducing the errors you get on our online demo for TimePicker/DateTimePicker – Accessibility. In case you succeed, please send us the exact steps that need to be followed. This way we can further analyze the potential problem and advice you.


Regards,
Deyan Enchev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Input
Asked by
neil
Top achievements
Rank 1
Answers by
Deyan Enchev
Telerik team
Share this question
or