Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ argh = "0.1.12"
thiserror = "2.0"
event-listener = "5.3.0"
anyhow = "1"
accesskit = "0.22"
accesskit = "0.23"
nonmax = "0.5"
gltf = "1.4"

Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_a11y/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ bevy_ecs = { path = "../bevy_ecs", version = "0.19.0-dev", default-features = fa
bevy_reflect = { path = "../bevy_reflect", version = "0.19.0-dev", default-features = false, optional = true }

# other
accesskit = { version = "0.22", default-features = false }
accesskit = { version = "0.23", default-features = false }
serde = { version = "1", default-features = false, features = [
"alloc",
], optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_feathers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ bevy_derive = { path = "../bevy_derive", version = "0.19.0-dev" }
smol_str = { version = "0.2", default-features = false }

# other
accesskit = "0.22"
accesskit = "0.23"

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_ui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ uuid = { version = "1.1", 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.22"
accesskit = "0.23"
tracing = { version = "0.1", default-features = false, features = ["std"] }

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/bevy_ui_widgets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bevy_reflect = { path = "../bevy_reflect", version = "0.19.0-dev" }
bevy_ui = { path = "../bevy_ui", version = "0.19.0-dev" }

# other
accesskit = "0.22"
accesskit = "0.23"

[features]
default = []
Expand Down
4 changes: 2 additions & 2 deletions crates/bevy_winit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ bytemuck = { version = "1.5", optional = true }
# other
# feature rwh_06 refers to [email protected]
winit = { version = "0.30", default-features = false, features = ["rwh_06"] }
accesskit_winit = { version = "0.30", default-features = false, features = [
accesskit_winit = { version = "0.31", default-features = false, features = [
"rwh_06",
] }
approx = { version = "0.5", default-features = false }
cfg-if = "1.0"
accesskit = "0.22"
accesskit = "0.23"
tracing = { version = "0.1", default-features = false, features = ["std"] }

[target.'cfg(target_os = "android")'.dependencies]
Expand Down
4 changes: 3 additions & 1 deletion crates/bevy_winit/src/accessibility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use winit::event_loop::ActiveEventLoop;

use accesskit::{
ActionHandler, ActionRequest, ActivationHandler, DeactivationHandler, Node, NodeId, Role, Tree,
TreeUpdate,
TreeId, TreeUpdate,
};
use accesskit_winit::Adapter;
use bevy_a11y::{
Expand Down Expand Up @@ -87,6 +87,7 @@ impl AccessKitState {
TreeUpdate {
nodes: vec![(accesskit_window_id, root)],
tree: Some(tree),
tree_id: TreeId::ROOT,
focus: accesskit_window_id,
}
}
Expand Down Expand Up @@ -266,6 +267,7 @@ fn update_adapter(
TreeUpdate {
nodes: to_update,
tree: None,
tree_id: TreeId::ROOT,
focus: NodeId(focus.0.unwrap_or(primary_window_id).to_bits()),
}
}
Expand Down