Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve keyboard support for availability tabs #77

Open
mdarrik opened this issue Aug 11, 2019 · 0 comments
Open

Improve keyboard support for availability tabs #77

mdarrik opened this issue Aug 11, 2019 · 0 comments

Comments

@mdarrik
Copy link
Contributor

mdarrik commented Aug 11, 2019

I mentioned this in the PR, but the tab controls currently need a little keyboard support work.

If you look at the w3 example I based the tab changes on, it does some logic to make the content for a tab available at the next tab index after a user clicks a tab. It also add a some arrow key support so users can switch between tabs more easily.

When you do this, you may want to break the tab stuff out into components like: tab-list, tab-button, tab-content so that this could be reused elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant