Keyboard navigation for accessibility

Asked

Viewed 28 times

0

We are developing a site with accessibility ( support this idea :D ), but we found the following problem. When we created the shortcuts:

Alt + 1

In Chrome it changes the tab and does not go to the given value, which is the content. Other browsers work correctly, of course, by clicking on different keys, for example.:

Firefox = Alt + Shift + number

The code I’m trying is this:

....
<a href="#conteudo" accesskey="1" data-toggle="tooltip" data-placement="bottom" title="ir para o conteúdo ALT + 1">Ir para o Conteúdo (1)</a>

<div class="container" id="conteudo">
Lorem ipsum dolor sit amet...
</div>

document.getElementById("conteudo").accessKey = "1";
....

Does anyone know how to fix this in Chrome?

  • https://answall.com/questions/160358/o-que-%C3%A9-Aria-accessible-rich-internet-Applications

  • Hello Magix Hat. I do not know if the content of the post would be applied to my doubt. I confess that I could not follow well the solutions described in the post.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.