Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Set tabindex to 0 or "un-ordered" #50

Merged
merged 1 commit into from
Sep 15, 2018
Merged

Conversation

ericboehs
Copy link
Contributor

Setting tabindex to 1 (current behavior) makes the selectr element the first element that is tabbed to. This is rarely the desired case.

Setting tabindex to 0 (proposed behavior) tells the browser to enable tabbing to the element without specifying the order.

@adrian-enspired
Copy link
Contributor

What would you think of a config option tabIndex, which defaults to 0?

@ericboehs
Copy link
Contributor Author

I'm not against it but I don't think it would get used much. tabindex: 0 is what 99% of people will want. I think it would be good to see how many issues were opened requesting it.

@Mobius1 Mobius1 merged commit 5f97fac into Mobius1:master Sep 15, 2018
@ericboehs ericboehs deleted the tabindex-0 branch September 17, 2018 17:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants