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

Đang mở
#14,265 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.
Ngôn ngữ chính
TypeScript
Star
1.8k
Fork
290
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
50

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của UI5/webcomponents

Tất cả issue của UI5/webcomponents

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.