Making Elements Focusable with Tabindex
Jonathan Snook tells us how to make arbitrary elements keyboard accessible using a clever aspect of the
- Wed, 13th Dec 2006 at 14:12 UTC
- Filed under:
- no tags defined for this entry
Commentsskip to comment form
Beware - the first part of the trick (value of -1) is invalid HTML.
From the HTML spec: "This value must be a number between 0 and 32767"
What happens if you leave the value blank? Would that emulate the action of a -1 value, or a zero? Would it even be valid code?