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

Automatically add the parent Ui as accesskit parent #5674

Open
lucasmerlin opened this issue Feb 4, 2025 · 0 comments
Open

Automatically add the parent Ui as accesskit parent #5674

lucasmerlin opened this issue Feb 4, 2025 · 0 comments

Comments

@lucasmerlin
Copy link
Collaborator

It'd be great if children of a Ui could automatically have that Ui as a parent in accesskit. If that's too much of an overhead, it'd be nice if this could be an opt in via UiBuilder.

Describe alternatives you've considered
Using the current Ctx::with_accessibility_parent is cumbersome and unintuitive. (See here)

Additional context
This would make it easy to implement correct accessibility for containers (e.g. radio groups) and also makes it easy to query children of containers in egui_kittest.

@emilk emilk added this to egui Feb 5, 2025
@emilk emilk moved this to Next up in egui Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Next up
Development

No branches or pull requests

1 participant