Fixing issue with navigation accessibility. Wasn't highlighting with tab navigation, and that really bugged me. I didn't want to convert the link to a <button/> as that's more meant as a UI element than for navigation.
The fix, as far as I can tell, is a combination of using tabIndex={0} on components as well as my focusable class.
Fixing issue with navigation accessibility. Wasn't highlighting with tab navigation, and that really bugged me. I didn't want to convert the link to a
<button/>
as that's more meant as a UI element than for navigation.The fix, as far as I can tell, is a combination of using
tabIndex={0}
on components as well as myfocusable
class.