You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally if you're attaching an onClick to something it should be a button. That way assistive technology recognises it as interactive. Also you get some extra behaviours for free—keyboard focus and handling (enter/spacebar will fire a button too).
You can put a button inside an li
The text was updated successfully, but these errors were encountered:
chip-shop/src/components/Letters.js
Line 55 in 81baeb9
Generally if you're attaching an
onClick
to something it should be a button. That way assistive technology recognises it as interactive. Also you get some extra behaviours for free—keyboard focus and handling (enter/spacebar will fire a button too).You can put a button inside an
li
The text was updated successfully, but these errors were encountered: