Skip to content

The UI Button example should support accessibility #18760

Open
@ickshonpe

Description

@ickshonpe

What problem does this solve or what need does it fill?

Got stuck recently trying to test some bug fixes for the accessibility module using the button example. I assumed it would work with a screen reader because the example's button entity has the Button marker that the accessibility module queries for. But that isn't the case, for a UI entity to be recognised by the accessibility systems it also has to be the InputFocus.

It's the most basic UI interaction example that a lot of users copy into their own projects, so I think it's essential that it supports the accessibility features.

What solution would you like?

For now, set InputFocus on the button so that the example works with screen readers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AccessibilityA problem that prevents users with disabilities from using BevyA-UIGraphical user interfaces, styles, layouts, and widgetsC-ExamplesAn addition or correction to our examples

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions