[SF][A11y][ui5-select] Conflicting ARIA: role="combobox" rendered with aria-roledescription="Listbox" (confuses screen-reader users)
メンテナーはふだん 3 日以内に返信
@PetyaMarkovaBogdanova がすでに取り組んでいます。
2026年10月29日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 67/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
src/SelectTemplate.tsxから始め、_ariaRoleDescriptionをたどってsrc/i18n/messagebundle.propertiesのSELECT_ROLE_DESCRIPTIONエントリを確認してください。selectコンボボックスに期待されるアクセシビリティの動作を確認し、レンダリングされたARIA属性に関する既存のテストを調べてください。コントロールがコンボボックスのロールに沿って一貫して読み上げられ、関連するテストが通れば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
We got a customer issue
The ui5-select root element renders two conflicting ARIA semantics on the same node:
role="combobox"aria-roledescription="Listbox"
Because aria-roledescription overrides how assistive technology announces the
element's role, a control that is implemented and behaves as a combobox is
announced to screen-reader users as a "Listbox". This is contradictory and
creates confusion about how to interact with the control (a listbox and a
combobox have different interaction models and keyboard expectations).
A consuming application cannot correct this: the ARIA is set inside the
component's shadow DOM, and ui5-select exposes no public property to override
role or aria-roledescription (only accessibleName, accessibleNameRef,
accessibleDescription, accessibleDescriptionRef).
Source (confirmed in v2.28.1)
src/SelectTemplate.tsx — the .ui5-select-label-root div:
<div
class="ui5-select-label-root"
role="combobox"
aria-haspopup="listbox"
aria-roledescription={this._ariaRoleDescription} // <-- resolves to "Listbox"
aria-expanded={this._isPickerOpen}
...
>
_ariaRoleDescription resolves to the i18n key SELECT_ROLE_DESCRIPTION, whose
value in src/i18n/messagebundle.properties is:
SELECT_ROLE_DESCRIPTION=Listbox
So the final DOM is role="combobox" + aria-roledescription="Listbox".
Isolated Example
No response
Reproduction steps
- Go to https://ui5.github.io/webcomponents-react/v2/?path=/docs/inputs-select--docs
- Inspect the shadow DOM .ui5-select-label-root → it has role="combobox" and aria-roledescription="Listbox".
- With a screen reader (JAWS/NVDA/VoiceOver), focus the control → it is announced as a "Listbox" while behaving as a combobox.
Expected Behaviour
No response
Screenshots or Videos
No response
UI5 Web Components for React Version
2.28.1
UI5 Web Components Version
2.28.1
Browser
Chrome
Operating System
No response
Additional Context
No response
Relevant log output
Organization
No response
Declaration
- I’m not disclosing any internal or sensitive information.
- 主要言語
- TypeScript
- スター
- 1.8k
- フォーク
- 290
- 平均マージ
- 3日 12時間
- マージ済み PR(30日)
- 54
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
UI5/webcomponents のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
UI5/webcomponents#14244 ·
メンテナーはふだん 3 日以内に返信
-
bug Medium Prio TOPIC P
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
UI5/webcomponents#14239 · コメント 2 件 ·
メンテナーはふだん 3 日以内に返信
-
[Feature Request][Side Navigation][A11Y]: Enhance user experience navigating components tree itemsオープンbug Medium Prio TOPIC RD
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
UI5/webcomponents#14232 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
enhancement feature request TOPIC RD
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
UI5/webcomponents#14222 · コメント 1 件 ·
メンテナーはふだん 3 日以内に返信
-
(ui5-search): Search input missing aria-description対応中かも @ndeshev が 2 日前に担当しました。 オープンbug Low Prio TOPIC RL
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
UI5/webcomponents#14211 · 担当者 1 名 ·
メンテナーはふだん 3 日以内に返信
UI5/webcomponents の issue をすべて見る
似ている issue
-
backend bug documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
geolens-io/geolens#3568 ·
メンテナーはふだん 1 日以内に返信
-
area:docs documentation good first issue priority:low
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
API: `tsc.exe` opens a visible console window on Windows when the parent process has no consoleオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
microsoft/TypeScript#65083 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
bug p2 platform:web triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信