bevyengine / bevyengine/bevy

FeathersNumberInput a11y support is incomplete

Open
#25,243 0 comments 0 reactions 0 assignees View on GitHub
A-UI C-Feature D-Complex D-Domain-Expert I-Accessibility S-Ready-For-Implementation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

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

Currently we only set the role (which is wrong) and the `disabled` attribute.

The reason the role is wrong is because we are using the role from `FeathersTextInput`, but our actual role should be `RangeInput`.

Also we need to set the property representing the current value. This will be tricky because `TextInput` is also going to want to set a value, which is a string.

## What solution would you like?

It would probably be better to do this _after_ #25213 - then we can add support for all the a11y properties.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the FeathersNumberInput and FeathersTextInput implementations, then read issue #25213 as the stated prerequisite. Confirm how the role, disabled attribute, and current value are exposed, including the conflict between numeric and string values; done means the number input exposes the RangeInput role and the required accessibility properties.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
accessibility
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.