Skip to content

Update accesskit to 0.24.0 (and related deps)#7850

Merged
lucasmerlin merged 5 commits intoemilk:mainfrom
delan:accesskit-subtrees
Mar 16, 2026
Merged

Update accesskit to 0.24.0 (and related deps)#7850
lucasmerlin merged 5 commits intoemilk:mainfrom
delan:accesskit-subtrees

Conversation

@delan
Copy link
Copy Markdown
Contributor

@delan delan commented Jan 16, 2026

this patch updates our deps to accesskit 0.24.0 (was 0.21.1), accesskit_consumer 0.35.0 (was 0.30.1), and accesskit_winit 0.32.0 (was 0.29.1), allowing egui to be used in apps that use accessibility subtrees (AccessKit/accesskit#655).

for now, we handle the subtree-related breaking changes by assuming that egui will use the root tree, which is good enough for servoshell and does not require any API changes.

  • I have followed the instructions in the PR template
image

@github-actions
Copy link
Copy Markdown

github-actions bot commented Jan 16, 2026

Preview available at https://egui-pr-preview.github.io/pr/7850-accesskit-subtrees
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

View snapshot changes at kitdiff

@delan
Copy link
Copy Markdown
Contributor Author

delan commented Feb 4, 2026

@lucasmerlin @emilk friendly ping :) we’re starting to get blocked on this and rerun-io/kittest#18 in servo, so if there’s anything we can do to help land these soon it would be much appreciated!

@DataTriny
Copy link
Copy Markdown
Contributor

@delan could you please update accesskit to 0.24 and accesskit_winit to 0.32. We have updated windows-rs to 0.62 which should fix some of the CI errors here.

@delan
Copy link
Copy Markdown
Contributor Author

delan commented Feb 6, 2026

done in 8ddc3d9, and in rerun-io/kittest@c95e1bc :)

@delan delan force-pushed the accesskit-subtrees branch from 8ddc3d9 to 8eb50c2 Compare February 6, 2026 10:55
@delan

This comment was marked as resolved.

@delan delan changed the title Update accesskit to 0.23.0 (and related deps) Update accesskit to 0.24.0 (and related deps) Feb 19, 2026
github-merge-queue bot pushed a commit to servo/servo that referenced this pull request Feb 20, 2026
We need to bump the accesskit version in order to use
[subtrees](https://docs.rs/accesskit/latest/accesskit/struct.Node.html#method.tree_id),
which are required to join the servo tree into the embedder tree.
We need to patch egui for servoshell, as we're waiting for them to land
the patch bumping their version of accesskit.
Once emilk/egui#7850 lands and a new version of
egui is pushed out, we'll be able to remove the patch.

Testing: No tests.
Fixes: Part of #4344

Signed-off-by: Alice Boxhall <[email protected]>
@DataTriny
Copy link
Copy Markdown
Contributor

We've just released accesskit_winit 0.32.2 which should help here.

@SuchAFuriousDeath
Copy link
Copy Markdown
Contributor

SuchAFuriousDeath commented Mar 6, 2026

I was actually under the impression that rerun-io/kittest#22 would be needed first 🤔

@delan delan force-pushed the accesskit-subtrees branch 2 times, most recently from c98a9f6 to c20b515 Compare March 6, 2026 09:13
@delan
Copy link
Copy Markdown
Contributor Author

delan commented Mar 6, 2026

I was actually under the impression that rerun-io/kittest#22 would be needed first 🤔

thanks! i’ve patched it to the tip of your branch for now: e355a35

@delan delan force-pushed the accesskit-subtrees branch 2 times, most recently from e355a35 to 8853e39 Compare March 6, 2026 09:32
@delan

This comment was marked as resolved.

@delan delan force-pushed the accesskit-subtrees branch from 8853e39 to 0314b62 Compare March 6, 2026 09:37
@delan
Copy link
Copy Markdown
Contributor Author

delan commented Mar 6, 2026

i’ll check if it also happens on main, it might be a problem with my machine.

fractal clock snapshot test also fails identically on main for me, but it passes in CI, so i’ll ignore it.

i’ve also updated deny.toml to ignore duplicate phf, since the old dependency is in two unrelated crates.

@delan delan force-pushed the accesskit-subtrees branch from 9402363 to 146abed Compare March 6, 2026 09:48
Co-authored-by: Luke Warlow <[email protected]>
Co-authored-by: lucasmerlin <[email protected]>
@delan delan force-pushed the accesskit-subtrees branch from 146abed to 4195619 Compare March 6, 2026 09:50
@delan delan marked this pull request as ready for review March 6, 2026 09:51
@delan delan requested a review from lucasmerlin March 6, 2026 09:51
Copy link
Copy Markdown
Owner

@emilk emilk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@lucasmerlin lucasmerlin added dependencies Pull requests that update a dependency file egui labels Mar 6, 2026
@SuchAFuriousDeath SuchAFuriousDeath mentioned this pull request Mar 12, 2026
1 task
@lucasmerlin lucasmerlin merged commit 5031c47 into emilk:main Mar 16, 2026
25 checks passed
@lucasmerlin
Copy link
Copy Markdown
Collaborator

Thanks for working on this, and sorry for the delay in getting this merged!

@delan
Copy link
Copy Markdown
Contributor Author

delan commented Mar 16, 2026

@lucasmerlin @DataTriny thanks for landing these changes, and fixing the text selection code too!

@delan delan deleted the accesskit-subtrees branch March 16, 2026 11:27
Masterchef365 pushed a commit to Masterchef365/egui that referenced this pull request Apr 3, 2026
this patch updates our deps to [accesskit
0.24.0](https://docs.rs/accesskit/0.24.0/accesskit/) (was
[0.21.1](https://docs.rs/accesskit/0.21.1/accesskit/)),
[accesskit_consumer
0.35.0](https://docs.rs/accesskit_consumer/0.35.0/accesskit_consumer/)
(was
[0.30.1](https://docs.rs/accesskit_consumer/0.30.1/accesskit_consumer/)),
and [accesskit_winit
0.32.0](https://docs.rs/accesskit_winit/0.32.0/accesskit_winit/) (was
[0.29.1](https://docs.rs/accesskit_winit/0.29.1/accesskit_winit/)),
allowing egui to be used in apps that use accessibility subtrees
(AccessKit/accesskit#655).

for now, we handle the subtree-related breaking changes by assuming that
egui will use [the root
tree](https://docs.rs/accesskit/0.24.0/accesskit/struct.TreeId.html#associatedconstant.ROOT),
which is good enough for [servoshell](https://github.com/servo/servo)
and does not require any API changes.


* [x] I have followed the instructions in the PR template

<img width="1185" height="954" alt="image"
src="https://github.com/user-attachments/assets/6acfb85a-096d-4a7b-963b-d8549bfc749f"
/>

---------

Co-authored-by: Luke Warlow <[email protected]>
Co-authored-by: lucasmerlin <[email protected]>
Co-authored-by: Arnold Loubriat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file egui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants