How to make my div with role=“button” attribute clickable with the enter key

前端 未结 0 1429
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-14 00:33

I have an app that needs to be fully navigable by keyboard. When I click on the header of a div (generated by a javascript/jquery function), an event listener is triggered.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题