I'm new to JAWS, I have written javascript code on pressing spacebar for a particular button, But on JAWS on tabbing each button it says "press spacebar to activate" for all the buttons.

I need to avoid saying that message. any idea

thanks in advance

有帮助吗?

解决方案

Actually, this is called a tutor message and can't (and shouldn't!) be removed by a web developer. Beginners hear this on each and every button in Windows, not only on the web.
So if you want to suppress this on your system, just turn off tutor messages (in the JAWS main menu, it's the first set of radio buttons in the Basics dialog).

其他提示

You can do in document ready javascript:

$(document).ready(function () {
   $(document).keydown(function (e) {
            if (e.keyCode == 32) {
                //Here your code to call JAWS
            }
        });
})
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top