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

Keyboard accessible

4 Answers 50 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
chris
Top achievements
Rank 1
chris asked on 10 Jan 2012, 11:22 PM
Hello,

I am using the AsyncUpload control on a site and we have to make the site ADA compliant. Is there a way to make this control keyboard friendly? Using Access Keys or being able to opening to select file popup with with space bar or enter key?

Thank you,
Chris Marfia

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 11 Jan 2012, 05:17 AM
Hello Chris,

Take a look at the following demo.
AsyncUpload / Keyboard Support

-Shinu.
0
chris
Top achievements
Rank 1
answered on 11 Jan 2012, 05:12 PM
Shinu,

This Seems like it should work but my control does not have those classes or buttons for some reason it is using the silverlight object. Is there a way I can prevent that from happening or have a way to make it keyboard accessible in all scenarios?

-Chris
0
chris
Top achievements
Rank 1
answered on 11 Jan 2012, 06:59 PM
Shinu,

I have uninstalled silverlight and I have been trying the example you sent me to. It seems from my findings that the onClientAdded() is happening before the ruFileInput files is added to the row. If there is a method that happens after that, that I will be able to use to find that element in the row?

Edit:

I have walked through this on the console with FireFox and Chrome and this is what I get:

>>> row.children.item("ruFileWrap").children
[input.ruFakeInput, input.ruButton Browse]

On the OnClientAdded() the last input has not been created yet. The FileInput is created 3 methods down from the onClientAdded event according to the stack.


-Chris
0
Accepted
Peter Filipov
Telerik team
answered on 16 Jan 2012, 10:02 AM
Hello Chris,

When Silverlight/Flash module is used, it is not possible to have a keyboard navigation. To disable modules, you should set the DisablePlugins property  to true. The event arguments of the OnClientAdded event handler contains a reference to the row which is going to be added.

Greetings,
Peter Filipov
the Telerik team
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 RadControls for ASP.NET AJAX, subscribe to their blog feed now
Tags
AsyncUpload
Asked by
chris
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
chris
Top achievements
Rank 1
Peter Filipov
Telerik team
Share this question
or