Tab + Enter tour control

Q&A about the latest versions
Post Reply
TButtrick
Posts: 10
Joined: Mon Apr 29, 2019 11:00 pm

Tab + Enter tour control

Post by TButtrick » Mon Oct 07, 2019 7:25 pm

Sorry if this has been asked before, I can't seem to find much chat about this topic.

I have a client that needs a tour to be accessible for people with disabilities, which in this case, means that the tour must be controllable using the tab and enter keys, like a traditional web page.

Is this possible, and if so how would I go about implementing this?

Many thanks

User avatar
Tony
Posts: 788
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Re: Tab + Enter tour control

Post by Tony » Tue Oct 08, 2019 2:55 am

Hi,

You may want to check out Keyboard Mapping in Pano2VR https://ggnome.com/doc/pano2vr/6/skin-key-mapping/

Using the Tab and Enter Keys may be problematic as the Pano2VR project isn't a standard html window. In tests I've done, even though i've clicked into the tour to give it focus, the Tab key only works on the browser UI elements.

cheers,

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/

TButtrick
Posts: 10
Joined: Mon Apr 29, 2019 11:00 pm

Re: Tab + Enter tour control

Post by TButtrick » Tue Oct 08, 2019 11:51 am

Thanks very much for the quick reply Tony

I am familiar with keyboard mapping and can map a single function/button to tab, but can't achieve the tab cycle behaviour.

It's surprising this isn't being requested more, the ability to control a tour with tab+enter is a requirement for many educational and government-funded establishments in the UK. I think this may become a frequent issue for me. If anyone has any workarounds or possible solutions I would very much appreciate a steer.

Many thanks,

User avatar
Hopki
Gnome
Posts: 9496
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: Tab + Enter tour control

Post by Hopki » Tue Oct 08, 2019 6:11 pm

Hi,
The problem with Tabbing and Shift Tabbing and enter is the browser may take focus so you end up selecting the address bar etc.
Mapping keys was our solution to this as the keys become tour specific.
Agreed you can not cycle through functions but as you can assign a key to each function you don't need to.
Regards,
Hopki

TButtrick
Posts: 10
Joined: Mon Apr 29, 2019 11:00 pm

Re: Tab + Enter tour control

Post by TButtrick » Wed Oct 09, 2019 12:24 pm

Thanks for the reply,

The keyboard mapping is very useful, the problem we have is that for people with disabilities, often they are restricted to fewer keys, or a switch style controller than can only drive the tab and enter keys. It also helps that it is consistent with the way other web pages work which removes any learning curve.

We potentially have another solution, which involves adding another layer over the javascript, which will allow this tab + enter control.
This is way outside of my understanding and will be outsourced, but the guy doing this has found that the menu items from the skin are loading/ordered in reverse, so from bottom to top, meaning that the tab cycle is in reverse order.

Is there any way to influence the order in which the div elements appear in the code to correct this?

Many thanks for the support, it is very much appreciated!

User avatar
Tony
Posts: 788
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Re: Tab + Enter tour control

Post by Tony » Wed Oct 09, 2019 1:23 pm

Is there any way to influence the order in which the div elements appear in the code to correct this?
Just off the top of my head, maybe changing the z-index might help?

Tony
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/

TButtrick
Posts: 10
Joined: Mon Apr 29, 2019 11:00 pm

Re: Tab + Enter tour control

Post by TButtrick » Thu Oct 10, 2019 3:10 pm

Thanks, Tony,

I'll try this out.

Post Reply

Who is online

Users browsing this forum: Sergey Burov and 11 guests