add tabindex and autofocus