Add tabindex and settable autofocus attribute (defaults to false)