React makes it easy to add interactivity to anything, so you have to be extra careful about semantic markup and accessibility. <li>s don't have native keyboard handling or screenreader support, so that's all stuff you have to implement yourself. If you just use a button then you get all that for free :)
React makes it easy to add interactivity to anything, so you have to be extra careful about semantic markup and accessibility.
<li>s don't have native keyboard handling or screenreader support, so that's all stuff you have to implement yourself. If you just use a button then you get all that for free :)