Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improved aria-label for the searchbar's clear button, or a way for consuming apps to customize this value #29116

Open
3 tasks done
oliviawongnyc opened this issue Mar 5, 2024 · 0 comments
Labels
package: core @ionic/core package type: bug a confirmed bug report

Comments

@oliviawongnyc
Copy link

Prerequisites

Describe the Feature Request

The clear button on the ion-searchbar has an aria-label of "reset" (code here), which is not clear enough for screenreader users. The label should be more descriptive, perhaps “clear search input”.

Describe the Use Case

"Reset" may be unclear to screenreader users, and so the button's aria-label should be more descriptive.

Describe Preferred Solution

Two possible solutions:

  1. Add a prop so that consuming applications can optionally pass their own aria-label for the searchbar's "clear button".
  2. Update the existing aria-label (here) to be something more descriptive, like "clear search input".

Thank you!!

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Mar 5, 2024
@brandyscarney brandyscarney added package: core @ionic/core package type: bug a confirmed bug report labels Mar 7, 2024
@brandyscarney brandyscarney removed their assignment Mar 7, 2024
@ionitron-bot ionitron-bot bot removed the triage label Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package type: bug a confirmed bug report
Projects
None yet
Development

No branches or pull requests

2 participants