[Bug] ui5-input: shadow DOM icon wrapper divs appear as "Blank" in screen reader browse mode

オープン 初心者向け
#14,310 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
html, typescript

調査の方向性

ui5-input の shadow テンプレートを見つけ、.ui5-input-icon-root と .ui5-input-clear-icon-wrapper の位置を確認してください。これらのラッパーがインタラクティブ要素をどのように含んでいるかを読み、その後、コンポーネントのアクセシビリティテストを確認するか、対象を絞ったリグレッション確認を追加してください。スクリーンリーダーが両方のラッパーを読み飛ばし、内側のコントロールには引き続きアクセスできる状態になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug Medium Prio TOPIC RL
Bug Description

The ui5-input shadow DOM renders two layout wrapper <div> elements that are encountered
by screen readers in browse/reading mode and announced as "Blank":

  • .ui5-input-icon-root - container div for the icon slot
  • .ui5-input-clear-icon-wrapper - container div for the clear (X) button

These wrappers are decorative layout containers - the actual interactive elements
(icon button, clear button) live inside them and handle their own accessibility. The
wrappers themselves carry no accessible name or role, so AT announces them as "Blank"
when the virtual cursor lands on them.

The fix belongs in the shadow template: both wrapper divs should have aria-hidden="true"
so AT skips them and focuses only on the inner interactive elements.

Affected Component

ui5-input

Expected Behaviour

The wrapper divs are transparent to AT. Screen readers navigate directly to the inner
interactive elements (which should carry their own accessible names).

The shadow template fix:

<div class="ui5-input-icon-root" aria-hidden="true">...</div>
<div class="ui5-input-clear-icon-wrapper" aria-hidden="true">...</div>

Actual behavior

NVDA and JAWS screen readers announces "Blank" for both .ui5-input-icon-root and .ui5-input-clear-icon-wrapper
in browse mode.

Isolated Example

No response

Steps to Reproduce
  1. Create a ui5-input with showClearIcon and type a value (so the clear wrapper appears)
  2. Open with NVDA in browse mode
  3. Use Arrow keys to navigate through the input area
  4. Screen reader announces "Blank" when landing on the icon wrapper divs
Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.25.4

Browser

Chrome, Edge

Operating System

Windows

Additional Context

No response

Organization

No response

Declaration
  • I’m not disclosing any internal or sensitive information.
主要言語
TypeScript
スター
1.8k
フォーク
289
平均マージ
4日 5時間
マージ済み PR(30日)
33

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

UI5/webcomponents のほかの issue

UI5/webcomponents の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。