Skip to main content
roineoberg
Participating Frequently
March 12, 2018
Question

Captivate Accessibility issues - Tabbing and js error

  • March 12, 2018
  • 1 reply
  • 276 views

Hi!

I have published a set of tutorials and when I launch them as HTML5 (index.htm) I am unable to use tab and enter to navigate. 

I tried enter, shift + enter, nothing happens.

When I check the browser and inspect, I see the following js error:

Uncaught TypeError: Cannot read property 'mdi' of undefined

    at b.cbKH (CPM.js:1854)

    at b.KeyHandler.m_handler (CPM.js:1732)

    at b.KeyManager.check (CPM.js:1867)

    at b.KeyManager.handleKeyUp (CPM.js:1864)

    at HTMLDocument.<anonymous> (CPM.js:1752)

    at HTMLDocument.dispatch (jquery-1.11.3.min.js:4)

    at HTMLDocument.r.handle (jquery-1.11.3.min.js:4)

Can someone please help me figure out why this is happening? 

This topic has been closed for replies.

1 reply

Participant
July 30, 2019

I found pasting the following JS as a Execute JavaScript entry action (for each slide that will use Tab as a shortcut) fixed the issue:

$(document).keydown(function (e) {var keycode1=(e.keyCode ? e.keyCode : e.which); if (keycode1 == 0 || keycode1 == 9) {e.preventDefault();e.stopPropagation(); } });