Good point, I set tabindex in the JS file instead. @valera-rozuvan tabindex tabindex is used extensively with the captions, to make them selectable with the keyboard. It has very good browser support: http://reference.sitepoint.com/html/a/tabindex