[ui5-input] Clear button inside input has no accessible text when showClearIcon is enabled

未关闭
#14,265 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 2 天内回复

还没有人认领这个 Issue。

评估

这个 Issue 还没有评估数据。

描述

ACC bug TOPIC RL
Bug Description

The clear ("×") button rendered inside ui5-input when showClearIcon is set to true has no accessible name. Screen readers announce it as an unlabelled button, providing no meaningful information to assistive technology users.

Affected Component

Component: ui5-input - Package: @ui5/webcomponents - Property: showClearIcon

Expected Behaviour

The clear button should have an accessible name (e.g. aria-label="Clear") so screen readers can announce it meaningfully to users.

Isolated Example

No response

Steps to Reproduce
  1. Add a ui5-input component with the showClearIcon property set to true
  2. Type text into the input field
  3. Inspect the clear button using a screen reader or accessibility audit tool (e.g. axe, Accessibility Insights)
Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.27.2

Browser

Chrome, Edge, Firefox, Safari

Operating System

No response

Additional Context

No response

Organization

No response

Declaration
  • I’m not disclosing any internal or sensitive information.
主要语言
TypeScript
星标
1.8k
派生
290
平均合并
2 天 13 小时
30 天内合并 PR
50

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

UI5/webcomponents 的其他 Issue

查看 UI5/webcomponents 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。