I have created a trigger for keyboard shortcut to enable learners to move through the slides using the right arrow. This works just fine when moving between slides but doesn't work at all for moving between layers. The trigger is set up to show the next layer when the user presses arrow key after clicking on this layer. Any ideas? Thanks!
It sounds like you're trying to find a way to use the User Presses Key trigger without requiring the user to click on the slide first.
One workaround is to add a button to the slide and add a trigger to Change the State of the button to Selected when the timeline starts on the slide. Then format the button to be completely transparent.
Thanks Lauren. It's not as such that I'm trying to let them progress without clicking on the slide first, they will have clicked on the slide (base layer) but the key trigger won't allow them to move between layers, just slides. I need this key trigger for accessibility and it works fine for moving between the slides just not the layers.
There's not a way to change the object action "after clicking on," but you can move it from the textbox to "after clicking on this slide" and see how that behavior works for you!
Hi. I'm having a similar issue in SL360, though pressing Enter to close a layer is working for me in preview mode. It's not working for a colleague who's testing my eLearning using the JAWS screen reader.
The sample slide and the other suggestions require the user to click on something, and we can't use mouse clicks for those who use screen readers. So, when I preview the sample slide, pressing L does nothing without first clicking.
I'm happy to help! The standard keyboard shortcuts for screen readers are TAB, Enter key, Space bar, and arrow keys. I wouldn't recommend requiring the user to use these keys when adding the trigger "User presses key" because they each have their own purpose, which will take priority over a trigger that includes an action when the user presses the Enter key.
The Enter key and Space bar are used to select anything. If the user needs to close a layer, I'd recommend adding a "Close" button to the Layer for a learner to select. Lastly, make sure to add a trigger to Hide Layer when the User Clicks (Name of the button).
Please let me know if you have any follow-up questions!
Hmm. I started off with a Close button with a trigger to hide the layer when the user clicks that button. My colleague with JAWS said it didn't work and asked me to remove the Close button and have all learners press Enter to close the layer. But that didn't work for her either.
I'll put my Close buttons back. I'm glad I saved a prior version of this thing.
Well, in preview mode, pressing Enter when the Close button is in focus does not close the layer. I also tried the space bar and all of the arrow keys. Tab moves the focus around the layer. The only way to close (hide) the layer is to mouse click on the Close button, and we're not allowed to require mouse work for those using screen readers.
I published a scene to Review 360 to see what happens there. Same issue. The only way to close/hide a layer is to click on the Close button.
If you have a trigger to hide a layer when the user presses Enter after clicking on the button, it would require the user to select the button twice to initiate the action. If you just want the user to select a button to hide the layer, add a trigger to hide the layer when the user clicks the button. By default, the layer will hide when the user selects the button, whether they are selecting it with a mouse or the keyboard.
Do you mind sharing your file so I can test it on my end as well? You can attach the .story file to this public discussion or upload it privately in a support case.
I'll upload a sample scene taken from the larger file using the private method. I have several slides with four or five layers of content, followed by a quick check question. The feedback layers on the questions work fine without mouse clicks, but I just can't get the content layers to close without mouse clicks.
Thanks for attaching your file! I've tried changing the shapes to buttons to see if that did the trick. Unfortunately, the Enter key and Space Bar still aren't working on that slide. I've started a case on your behalf with our Support Engineers. They'll take a look at your course and follow up with you via email.
15 Replies
Hi Mary!
It sounds like you're trying to find a way to use the User Presses Key trigger without requiring the user to click on the slide first.
One workaround is to add a button to the slide and add a trigger to Change the State of the button to Selected when the timeline starts on the slide. Then format the button to be completely transparent.
Let me know if this works for you!
Thanks Lauren. It's not as such that I'm trying to let them progress without clicking on the slide first, they will have clicked on the slide (base layer) but the key trigger won't allow them to move between layers, just slides. I need this key trigger for accessibility and it works fine for moving between the slides just not the layers.
Hi Mary!
Thank you for clarifying! I've tested this on my end and I can use this trigger to navigate to layers and between layers.
I'm attaching a sample file. Let me know what you think!
Thanks Lauren, is there any way to set this up without it having to be attached to another action i.e. without the "after clicking on..."
Hi Mary,
There's not a way to change the object action "after clicking on," but you can move it from the textbox to "after clicking on this slide" and see how that behavior works for you!
Hi. I'm having a similar issue in SL360, though pressing Enter to close a layer is working for me in preview mode. It's not working for a colleague who's testing my eLearning using the JAWS screen reader.
The sample slide and the other suggestions require the user to click on something, and we can't use mouse clicks for those who use screen readers. So, when I preview the sample slide, pressing L does nothing without first clicking.
Hello Jennifer!
I'm happy to help! The standard keyboard shortcuts for screen readers are TAB, Enter key, Space bar, and arrow keys. I wouldn't recommend requiring the user to use these keys when adding the trigger "User presses key" because they each have their own purpose, which will take priority over a trigger that includes an action when the user presses the Enter key.
The Enter key and Space bar are used to select anything. If the user needs to close a layer, I'd recommend adding a "Close" button to the Layer for a learner to select. Lastly, make sure to add a trigger to Hide Layer when the User Clicks (Name of the button).
Please let me know if you have any follow-up questions!
Hmm. I started off with a Close button with a trigger to hide the layer when the user clicks that button. My colleague with JAWS said it didn't work and asked me to remove the Close button and have all learners press Enter to close the layer. But that didn't work for her either.
I'll put my Close buttons back. I'm glad I saved a prior version of this thing.
Well, in preview mode, pressing Enter when the Close button is in focus does not close the layer. I also tried the space bar and all of the arrow keys. Tab moves the focus around the layer. The only way to close (hide) the layer is to mouse click on the Close button, and we're not allowed to require mouse work for those using screen readers.
I published a scene to Review 360 to see what happens there. Same issue. The only way to close/hide a layer is to click on the Close button.
Hi Jennifer!
If you have a trigger to hide a layer when the user presses Enter after clicking on the button, it would require the user to select the button twice to initiate the action. If you just want the user to select a button to hide the layer, add a trigger to hide the layer when the user clicks the button. By default, the layer will hide when the user selects the button, whether they are selecting it with a mouse or the keyboard.
Do you mind sharing your file so I can test it on my end as well? You can attach the .story file to this public discussion or upload it privately in a support case.
I'll upload a sample scene taken from the larger file using the private method. I have several slides with four or five layers of content, followed by a quick check question. The feedback layers on the questions work fine without mouse clicks, but I just can't get the content layers to close without mouse clicks.
Change of plan. The private submission form keeps erroring out when I try to attach my file, but I was able to attach it here.
Hello Jennifer!
Thanks for attaching your file! I've tried changing the shapes to buttons to see if that did the trick. Unfortunately, the Enter key and Space Bar still aren't working on that slide. I've started a case on your behalf with our Support Engineers. They'll take a look at your course and follow up with you via email.
They found the problem - my slides were corrupted, so I had to rebuild them. :-(
New slides, and this time I used buttons rather than rectangles, though the triggers were the same. Now the slides are working.
Hi, Jennifer.
While it's never fun to rebuild slides, I'm happy our engineers were able to help you figure out the issue and that the triggers are now working.
Thank you for taking the time to come back and let us know the solution!