Forum Discussion
Keyboard Shortcut not working on Layers
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.
- LaurenConnelly4 years agoStaff
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.