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

AriaSettings for RadAsyncUpload

1 Answer 98 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Andrew
Top achievements
Rank 1
Andrew asked on 12 Mar 2019, 04:52 PM

I'm looking to get my site up to WCAG 2.0 AA and I have a RadAsyncUpload control:

 

<telerik:RadAsyncUpload ID="mfUpload" runat="server" MultipleFileSelection="Automatic"  RenderMode="Auto" Skin="Bootstrap"
                                                OnClientFileUploadFailed="failed" EnableViewState="false" OnClientFilesUploaded="OnClientFilesUploaded"
                                                OnClientFileUploading="OnClientFileUploading" EnableAriaSupport="true"
                                                AllowedFileExtensions="jpg,png,gif,pdf"  DisablePlugins="true"  OnClientFileSelected="OnClientFileSelected"
                                                OnClientFileUploadRemoved="removed"   OnClientFilesSelected="onSelect"  OnClientValidationFailed="OnClientValidationFailed"  
                                                OnClientAdded="added"    Localization-Select="<%$ Resources:GlobalResource, SelectTitle %>"
                                                Localization-Cancel="<%$ Resources:GlobalResource,CancelText %>"  
                                                Localization-Remove="<%$ Resources:GlobalResource,RemoveText %>"  EnableInlineProgress="true">
                                
                            </telerik:RadAsyncUpload>

AriaSettings don't seem to be available and I need to set a label to the form element (upload control).  I set the EnableAriaSupport=true but I don't think that's going to solve my problem.

What are my options?

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 15 Mar 2019, 11:03 AM
Hello,

The AsyncUpload has WaiAriaSettings with the DescibedBy and Label properties where:
  • DescribedBy - Gets or sets the ID of the HTML element containing the description of the control.
  • Label - Gets or sets the text added as an aria-label attribute.

<telerik:RadAsyncUpload runat="server" ID="RadAsyncUpload1" EnableAriaSupport="true" >
    <AriaSettings Label="AsyncUpload label"  DescribedBy="Label1" />
</telerik:RadAsyncUpload>

Regards,
Peter Milchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
AsyncUpload
Asked by
Andrew
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or