Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Tab Panel should be programmatically focusable #7

Closed
juanca opened this issue Jun 25, 2018 · 1 comment · Fixed by #6
Closed

Tab Panel should be programmatically focusable #7

juanca opened this issue Jun 25, 2018 · 1 comment · Fixed by #6
Labels
enhancement New feature or request

Comments

@juanca
Copy link
Owner

juanca commented Jun 25, 2018

From w3c/aria-practices#323 (comment)

This was added to account for cases where a tab panel may not include any focusable interactive elements, or if a large amount of textual content appears at the beginning of the tabpanel and the first focusable active element is at the end, such as a license agreement form where the Agree button is at the very end.
If the tabpanel is not focusable, then sighted keyboard-only users will not be able to tab to the tabpanel content and read it from the beginning on down, but will instead jump to Agree and entirely skip all of the main content. This is also helpful for screen reader users who may wish to move directly from the focused expanded Tab and be placed at the beginning of the newly rendered Tabpanel content, instead of jumping passed it or moved to the end of it unexpectedly.

@juanca juanca added the enhancement New feature or request label Jun 25, 2018
@juanca
Copy link
Owner Author

juanca commented Jun 25, 2018

We will want to expose this on the properties interface so a consumer can decide whether their usage will require a focusable tab panel (or not).

This might be a pattern for all composite components (tab panel, grid, tree grid, etc). 🤔

@ahuth ahuth mentioned this issue Jun 26, 2018
@ahuth ahuth closed this as completed in #6 Jun 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant