Problems with keyboard shortcuts (Browser and Storyline Accessability)

Jul 05, 2022

I am currently working on a Storyline project that relies heavily on keyboard inputs.

That works fine except for two keyboard shortcuts:

  1.  The first one is caused by the Storyline Accessability shortcuts:
    on a German keyboard SHIFT + ß is meant to be ?, but opens up the Storyline infobox, which describes all available shortcuts. Can I somehow disable all those predefined shortcuts within Storyline?
  2. The second one might be a bit more difficult to solve:
    again on a German Keyboard, in Firefox SHIFT + # is meant to be ', but opens a search-box on the left bottom of the browser.

    I did a little research and found that this JavaScript can stop the Browser to open up that search box:

    <script>
    var isShiftHold = false;

    $(document).keydown(function (e) {
    if (e.which == 16)
    isShiftHold = true;
    ShortcutManager(e);
    });

    function ShortcutManager(e){
    if (isShiftHold && e.which == 163) {
    e.preventDefault(); //prevent browser from the default behavior
    }
    }
    </script>

    This works fine when I test it as a HTML file, but it does not work if I simply create a JavaScript trigger within Storyline. I even tried putting the code in the story.html output file.
    Where should I put that code to make it work? Or is there another solution to this?
7 Replies
santhosh santhu

Hi,

We are facing challenges in accessibility where the scores are not read out using screen reader. Since the scores are dynamically changing every time, we are unable to give proper naming for the scores. So I request to look into this issue seriously and revert back at the earliest. we have to launch this course on Monday. Kindly do the needful actions.