Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このアプリケーションでは、すべてのボタンにアンカータグを使用しています。これにより、特定のスタイルを実装できます。
タブを押している間、アンカータグがフォーカスを取得することはありません。onClickを実装しましたが、「enter」キープレスイベントをキャプチャするにはどうすればよいですか?
OnClickが機能し続けることを確認する必要があります。
アンカー タグに tabindex を追加します。
http://www.w3schools.com/tags/att_standard_tabindex.asp