How can I make my modified radio buttons tabbable?
问题 I've used some CSS to make mobile-friendly 'radio' buttons by hiding the input s and using the label elements instead. The code is below, but I've made a jsFiddle for convenience. My problem is that a major usability issue arises when using a keyboard to navigate the form: the fields are no longer tabbable. I've tried adding tabindex attributes to the hidden input s, the labels and to the div . The first two do not work at all, adding tabindex to the div works (the div is highlighted), but I