Is there something I can do like this (perhap via a plugin)
if ( ! $(\'form#contact input]\').hasFocus()) { $(\'form#contact input:first]\').focus(); }
$('*:focus')
(Necro ftw, but still valid and useful)