Keyboard navigation for accessibility

0

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

  

Alt + 1

In Chrome it changes the tab and does not go to the value indicated, which is the content. In other browsers work correctly, of course, by clicking on different keys, such as:

  

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 solve this in Chrome?

    
asked by anonymous 11.06.2018 / 23:50

0 answers