bevyengine / bevyengine/bevy

FeathersMenuItem does not properly show keyboard focus

Open
#24,933 1 comment 0 reactions 0 assignees View on GitHub
A-UI C-Bug I-Accessibility S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

bevy_feathers shows keyboard focus via a feathers.focus.ring outline, like so:

Image

`FeathersMenuItem` fails to do so, either not showing the focus at all (in the `feathers_gallery` example, click on "Menu" and then press the down key):

Image

or showing it by changing the background color (select the menu with tab, then press the down key) (in the screenshot, the second item is also highlighted as due to mouse hover):

Image

Edit: Eager menus currently don't work due to a seperate bug (#24935), but the issue is visible on lazy menus.

Contributor guide

Open the contributing guide

Research direction

Start with the FeathersMenuItem implementation and reproduce the issue in the feathers_gallery example using a lazy menu. Compare its keyboard-focus behavior with the feathers.focus.ring outline shown elsewhere in bevy_feathers; done means keyboard navigation displays that focus ring without incorrectly changing the background color.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.