Keyboard action does not work

drago
drago Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 7 ☆ Roadie ☆
Hi
We are developing an online course for a client whose requirement is to meet Accessibility requirements for their visually impaired and blind users. The keystroke that triggers the Process Question action doesn't work (we tried Enter, Ctrl+Enter and so on). All works correctly with mouse input (onClick).
Any ideas or work around the issue will be appreciated.

Answers

  • drago
    drago Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 7 ☆ Roadie ☆
    edited May 31, 2021

    A sample screenshot

  • chris_willis
    chris_willis Rockstar Manager Posts: 68 eLearning ROCKSTAR Stage Manager
    Hi, @drago! What version of Lectora are you using for this project?
    ----------------------------------------------
    Chris Willis, Product Director, Lectora
    ◖⚆ᴥ⚆◗ "Where there's a Willis, There's a Way!"
  • drago
    drago Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 7 ☆ Roadie ☆

    Hi, @drago! What version of Lectora are you using for this project?

    Hi Chris. Lectora ver19. @chris_willis
  • wheels
    wheels Community Member, Administrator, Moderator, Rockstar Manager Posts: 702 eLearning ROCKSTAR Admin Team
    The Submit button will run any On Mouse Click actions when Enter or Spacebar is pressed and the Submit button has keyboard focus. This works in v19. The project/title should be set to Design Tab ->
    Title Options -> Use Web Accessibility Settings, and the Submit button should be enabled, Always on top should be unchecked, and Empty ALT Tag should be unchecked.

    This works for me in Firefox and Chrome. We no longer test with IE.

    Anyway, if you are not seeing this working you should report it to
    [email protected] It should work.

    To ensure process question is working try enabling immediate feedback with a Display Message action.
  • drago
    drago Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 7 ☆ Roadie ☆
    Thank you, @wheels . The Tests' behaviour is interesting, to say the least. MCQ answers are showing as selected (that is, using keyboard input), however, nothing happens when the questions are processed. We tested on various Browsers, same results, or lack thereof. The one solution that seems to work is to use buttons that set the variable associated with the question to an answer (one per button). It is not ideal, but we don't have another solution.
    All works as intended when using a mouse.
    We will report the behaviour to [email protected]
  • wheels
    wheels Community Member, Administrator, Moderator, Rockstar Manager Posts: 702 eLearning ROCKSTAR Admin Team
    @drago if you can make a sample project, export it to zip and attach it here then others in the forum could take a look as well. One other thing I thought to try is to switch the button shape. It looks like you are using the pill shape button and sometimes that has issues. Are you on v19.0.4 (the latest 19)?
  • drago
    drago Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 7 ☆ Roadie ☆
    @wheels . I am on ver19.0.4. The issue seems to be with the questions and the radio buttons. The user input (question variable) doesn't "register". I will export a sample and upload here. This only happens if I use the keyboard as input method (Tabbing and Enter key/Space bar). It works 100% using mouse input.
  • BlakeHayward
    BlakeHayward Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 1 ☆ Roadie ☆
    edited October 8, 2021
    Hi Drago, Wheels.

    I am having this exact same problem too and am pulling my hair out trying to fix it. Did you figure out a solution? I'm on v19.0.4, and tried the same project with 21 and same problem. A brand new project also has the same issues. Very frustrating and I'm desperate to get this working properly!

    EDIT: I fixed it by changing the radio button styles to default. Wild that is the solution.. But there it is
  • drago
    drago Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 7 ☆ Roadie ☆
    Hi Blake, we eventually resorted to using image buttons with actions that set the question answers, more actions to reset the state of the other buttons to "normal". It is a bit of a long process if you have many questions and answers, but it worked. The project was for a government institution, so we had to get input from persons with actual disabilities (in our case a blind tester, using JAWS).
    I have attached a screenshot of a possible workaround, bear in mind the value to set the question answer must match exactly the correct answer text. Hope this helps :)