Suppose I have the following 3 buttons:
<div role="button" class="ico-btn">
Button A
</div>
<div role="button" class="ico-btn">
Button B
</div>
<div role="button" class="ico-btn">
Button C
</div>
Is there any way to trigger Button A
by pressing the A key on the keyboard, or Button B
by pressing the B key on the keyboard, etc.? Something like an attribute keypress="A" to make things more accessible?