
# Objective Bevy now has first-class input focus handling! We should use this for accessibility purpose via accesskit too. ## Solution - Removed bevy_a11y::Focus. - Replaced all usages of Focus with InputFocus - Changed the dependency tree so bevy_a11y relies on bevy_input_focus - Moved initialization of the focus (starts with the primary window) from bevy_window to bevy_input_focus to avoid circular dependencies (and it's cleaner) ## Testing TODO ## Migration Guide `bevy_a11y::Focus` has been replaced with `bevy_input_focus::Focus`.
27 lines
811 B
TOML
27 lines
811 B
TOML
[package]
|
|
name = "bevy_a11y"
|
|
version = "0.15.0-dev"
|
|
edition = "2021"
|
|
description = "Provides accessibility support for Bevy Engine"
|
|
homepage = "https://bevyengine.org"
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy", "accessibility", "a11y"]
|
|
|
|
[dependencies]
|
|
# bevy
|
|
bevy_app = { path = "../bevy_app", version = "0.15.0-dev" }
|
|
bevy_derive = { path = "../bevy_derive", version = "0.15.0-dev" }
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.15.0-dev" }
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.15.0-dev" }
|
|
bevy_input_focus = { path = "../bevy_input_focus", version = "0.15.0-dev" }
|
|
|
|
accesskit = "0.17"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[package.metadata.docs.rs]
|
|
rustdoc-args = ["-Zunstable-options", "--generate-link-to-definition"]
|
|
all-features = true
|