LightBox code is not web accessible

  • Profile Image
    webtools@heart.org
    Asked on October 06, 2015 at 05:18 PM

    Hi, 

    I was just testing out the LightBox embed option and noticed that it's not web accessible for the following reason:

    For users who depend on keyboard commands there should be a way they can highlight the X and hit enter to close the LightBox or hit the Escape key to close the LightBox. I've tried both of these and neither work, so it creates a keyboard trap for people who depend on keyboard commands. Is this something that you all can address, b/c I would like to use the LB option, but we're not able to do to this issue. 

     

    Thanks, 

     

    Nathan McLain

  • Profile Image
    jonathan
    Answered on October 06, 2015 at 07:50 PM

    Hi Nathan,

    I think using the old lightbox script code still work for this. I am referring to the non jquery version of the lightbox embed code of the form.

    When you get the LB code of the form, it gives by default the jquery version... like this code 

    ".../static/feedback2.js?3.3.REV"

     

    to use the old version, just remove 2 in the feedback.js name of script.

    like this  ".../static/feedback.js?3.3.REV"

     

    I made a test page here 

     

    You can test using the ESC key to close the LB form.

    The difference for this though is that you cannot close the LB form if you just click anywhere on the page. You will need to click on the X button if you want to close the form.

    Hope this help. Let us know if this will not work for you.