Is it possible to enable keyboard shortcuts for interacting with div elements? I am working on a project tailored for seniors who may have difficulty using a mouse. Is there a way to utilize keyboard shortcuts to click on divs and access their contents?
How can the event trigger
be activated while certain keys are held down?
keydown = ctrl+g
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-3 alert alert-danger"><a href="">Open ctrl+g or click</a></div>
<div class="col-md-3 col-sm-3 alert alert-warning"><a href="">Open ctrl+d or click</a></div>
<div class="col-md-3 col-sm-3 alert alert-success"><a href="">Open ctrl+e or click</a></div>
<div class="col-md-3 col-sm-3 alert alert-info"><a href="">Open ctrl+i or click</a></div>
</div>
</div>
Could this potentially interfere with browser shortcuts?
For instance, hitting ctrl+g
in Google Chrome might not open a link, but rather trigger the search console of the browser.
Alternatively, are there other methods of improving accessibility?