diff --git a/Cargo.toml b/Cargo.toml index b77b624b8e58f..aba109bf2d73e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -786,7 +786,7 @@ argh = "0.1.12" thiserror = "2.0" event-listener = "5.3.0" anyhow = "1" -accesskit = "0.24" +accesskit = "0.25" nonmax = "0.5" gltf = "1.4" indexmap = "2" diff --git a/crates/bevy_a11y/Cargo.toml b/crates/bevy_a11y/Cargo.toml index 08819481b9f84..7fab4e99e4768 100644 --- a/crates/bevy_a11y/Cargo.toml +++ b/crates/bevy_a11y/Cargo.toml @@ -46,7 +46,7 @@ bevy_ecs = { path = "../bevy_ecs", version = "0.20.0-dev", default-features = fa bevy_reflect = { path = "../bevy_reflect", version = "0.20.0-dev", default-features = false, optional = true } # other -accesskit = { version = "0.24", default-features = false } +accesskit = { version = "0.25", default-features = false } serde = { version = "1", default-features = false, features = [ "alloc", ], optional = true } diff --git a/crates/bevy_feathers/Cargo.toml b/crates/bevy_feathers/Cargo.toml index 66250b511b56a..d5f9bdc5c0f68 100644 --- a/crates/bevy_feathers/Cargo.toml +++ b/crates/bevy_feathers/Cargo.toml @@ -41,7 +41,7 @@ bevy_derive = { path = "../bevy_derive", version = "0.20.0-dev" } smol_str = { version = "0.2", default-features = false } # other -accesskit = "0.24" +accesskit = "0.25" [features] default = [] diff --git a/crates/bevy_ui/Cargo.toml b/crates/bevy_ui/Cargo.toml index 23098da85350a..357e0c3c39598 100644 --- a/crates/bevy_ui/Cargo.toml +++ b/crates/bevy_ui/Cargo.toml @@ -50,7 +50,7 @@ uuid = { version = "1.21.0", features = ["v4"], optional = true } thiserror = { version = "2", default-features = false } derive_more = { version = "2", default-features = false, features = ["from"] } smallvec = { version = "1", default-features = false } -accesskit = "0.24" +accesskit = "0.25" parley = { version = "0.11.0", default-features = false, features = ["std"] } swash = { version = "0.2.6" } tracing = { version = "0.1", default-features = false, features = ["std"] } diff --git a/crates/bevy_ui_widgets/Cargo.toml b/crates/bevy_ui_widgets/Cargo.toml index 057f1d707547a..0d6b248c363e2 100644 --- a/crates/bevy_ui_widgets/Cargo.toml +++ b/crates/bevy_ui_widgets/Cargo.toml @@ -29,7 +29,7 @@ bevy_time = { path = "../bevy_time", version = "0.20.0-dev" } bevy_window = { path = "../bevy_window", version = "0.20.0-dev" } # other -accesskit = "0.24" +accesskit = "0.25" parley = { version = "0.11.0", default-features = false } smol_str = "0.2" diff --git a/crates/bevy_winit/Cargo.toml b/crates/bevy_winit/Cargo.toml index 7eaf5ead6ebe1..e5d9d6be3646a 100644 --- a/crates/bevy_winit/Cargo.toml +++ b/crates/bevy_winit/Cargo.toml @@ -64,11 +64,11 @@ bytemuck = { version = "1.5", optional = true } # other # feature rwh_06 refers to window_raw_handle@v0.6 winit = { version = "0.30", default-features = false, features = ["rwh_06"] } -accesskit_winit = { version = "0.33", default-features = false, features = [ +accesskit_winit = { version = "0.34", default-features = false, features = [ "rwh_06", ] } approx = { version = "0.5", default-features = false } -accesskit = "0.24" +accesskit = "0.25" tracing = { version = "0.1", default-features = false, features = ["std"] } [target.'cfg(target_os = "android")'.dependencies] diff --git a/crates/bevy_winit/src/accessibility.rs b/crates/bevy_winit/src/accessibility.rs index 5b69988fe18b9..ad5ec7b68bdd8 100644 --- a/crates/bevy_winit/src/accessibility.rs +++ b/crates/bevy_winit/src/accessibility.rs @@ -7,8 +7,8 @@ use std::sync::Mutex; use winit::event_loop::ActiveEventLoop; use accesskit::{ - ActionHandler, ActionRequest, ActivationHandler, DeactivationHandler, Node, NodeId, Role, Tree, - TreeId, TreeUpdate, + ActionHandler, ActionRequest, ActivationHandler, DeactivationHandler, Node, NodeId, Role, + TreeId, TreeInfo, TreeUpdate, }; use accesskit_winit::Adapter; use bevy_a11y::{ @@ -81,7 +81,7 @@ impl AccessKitState { fn build_initial_tree(&mut self) -> TreeUpdate { let root = self.build_root(); let accesskit_window_id = NodeId(self.entity.to_bits()); - let mut tree = Tree::new(accesskit_window_id); + let mut tree = TreeInfo::new(accesskit_window_id); tree.toolkit_name = Some("Bevy".into()); tree.toolkit_version = Some(env!("CARGO_PKG_VERSION").into()); self.requested.set(true);