2
0
Fork 0
mirror of https://github.com/bevyengine/bevy synced 2024-12-24 03:53:06 +00:00
bevy/crates/bevy_a11y
Derick M 0ac495f7f4
Remove accesskit re-export from bevy_a11y ()
# Objective

- Fixes  

## Solution

- Both Bevy and AccessKit export a `Node` struct, to reduce confusion
Bevy will no longer re-export `AccessKit` from `bevy_a11y`

## Testing

- Tested locally

## Migration Guide

```diff
# main.rs
--    use bevy_a11y::{
--        accesskit::{Node, Rect, Role},
--        AccessibilityNode,
--    };
++    use bevy_a11y::AccessibilityNode;
++    use accesskit::{Node, Rect, Role};

# Cargo.toml
++    accesskit = "0.17"
```

- Users will need to add `accesskit = "0.17"` to the dependencies
section of their `Cargo.toml` file and update their `accesskit` use
statements to come directly from the external crate instead of
`bevy_a11y`.
- Make sure to keep the versions of `accesskit` aligned with the
versions Bevy uses.
2024-11-08 21:01:16 +00:00
..
src Remove accesskit re-export from bevy_a11y () 2024-11-08 21:01:16 +00:00
Cargo.toml Bump accesskit and accesskit_winit. () 2024-11-04 20:07:38 +00:00
README.md Add README.md to all crates () 2024-05-02 18:56:00 +00:00

Bevy A11Y (Accessibility)

License Crates.io Downloads Docs Discord