|
|
|
|
|
by cantSpellSober
1350 days ago
|
|
Great question! The value of `role` tells the screen reader the element is a button, that's all. To be focusable, handle touch, mouse and keyboard (space and enter ofc) inputs you could write bespoke JS and CSS, or change `div` to `button` |
|