Picture of Henrik Aabom
Accessibility always on?
by Henrik Aabom - Monday, 10 October 2016, 12:37 PM
 

Hi everyone

This has already been discussed a bit here:

https://community.adaptlearning.org/mod/forum/discuss.php?d=1594

https://community.adaptlearning.org/mod/forum/discuss.php?d=1522

But, I still have the question: Is there a way to always have Accessibility enabled, so that the users don't have to press Tab+Enter in order to enable it?

Is there a reason to why it isn't always enabled?

 

Thanks Henrik

Picture of Henrik Aabom
Re: Accessibility always on?
by Henrik Aabom - Tuesday, 11 October 2016, 7:37 AM
 

Hi again

Allow me to specify my question:

Is there a way to access:

Adapt.config.get("_accessibility")._isActive

from a component or extension?

I want to be able to set this to true, in order to turn on Accessibility.

The problem is that this is not accessible through the AT, as far as I can tell. So I want to make an extension that sets it to true, and in this way, make it possible to permanently enable Accessibility through the AT by adding the extension to the course.

 

Any help is appreciated.

Thanks Henrik

Picture of Matt Leathes
Re: Accessibility always on?
by Matt Leathes - Tuesday, 11 October 2016, 9:09 AM
 

Thanks for clarifying, I get it now.

Have a look at this code in the new languagePicker extension, that might help.

You could also have a look at this code which is responsible for making sure that accessibility is always enabled for touch-capable devices.

Is there a reason to why it isn't always enabled?

Yes, because the yellow focus rectangle would quickly become very annoying to users who didn't have an accessibility requirement. Also, anyone is using the keyboard to navigate but isn't using a screenreader isn't going to want to tab around every single element in the course, just the clickable elements (although we haven't quite sorted this aspect out yet).

Picture of Henrik Aabom
Re: Accessibility always on?
by Henrik Aabom - Tuesday, 11 October 2016, 9:27 AM
 

Thank you for clarifying Matt!