Explore the community Forums Lectora Lectora Questions & Answers Keyboard Navigation without Tab Key? Reply To: Keyboard Navigation without Tab Key?

#411318 Score: 0
Profile photo of CarlFink
CarlFink
Member
beginner
intermediate
contributor
LUC16 Attendee
wise owl
curious george
advanced
friend finder
41 pts
@CarlFink

EDIT: can someone from Trivantis fix the editor in this forum? See below for why I ask.

 

You could actually create an “onKey” action for UpArrow and for DownArrow that tests the item variables. Say the choices are VarA, VarB, and VarC (where True means selected). The pseudocode for DownArrowwould be:

if VarA
<p style=”padding-left: 30px;”>VarB=True</p>
<p style=”padding-left: 30px;”>VarA=False</p>
elseif VarB
<p style=”padding-left: 30px;”>VarC=True
VarB=False</p>
elseif  !VarC
<p style=”padding-left: 30px;”>VarA=True</p>
\\If VarC is true, the key is ignored, there is no choice below option C

For UpArrow, it would be the equivalent but with the “ignore” condition being when A is selected.

Sorry this is formatted wrong. This editor is terrible when I try to do indentation–if I change the font it refused to indent.

  • This reply was modified 1 year, 10 months ago by Profile photo of CarlFink CarlFink .