Skip to content
New issue

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

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

Already on GitHub? # to your account

Support exclusion of elements from focusgroups #50

Merged
merged 4 commits into from
Nov 27, 2024

Conversation

echo-vladimir
Copy link
Contributor

The focusgroup=none feature allows elements and their descendants to opt-out from focusgroup participation. This prevents focusable elements within a subtree marked with focusgroup=none from being part of the parent focusgroup, ensuring they are skipped in the focus navigation cycle and do not respond to arrow key navigation. The focusgroup=none attribute enables more granular control over focus behavior, especially in complex components like accordions or nested structures, where certain elements need to be excluded from the focus cycle.

@echo-vladimir echo-vladimir requested a review from ai November 21, 2024 18:32
@ai ai merged commit 3b2f814 into ai:polyfill Nov 27, 2024
5 checks passed
@echo-vladimir echo-vladimir deleted the feature/none branch December 2, 2024 16:15
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants