[SF][A11y][ui5-select] Conflicting ARIA: role="combobox" rendered with aria-roledescription="Listbox" (confuses screen-reader users)

Open Beginner friendly
#14,212 3 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 2 days

@PetyaMarkovaBogdanova is already working on this.

Since Oct 29, 2026.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
67/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript

Research direction

Start with src/SelectTemplate.tsx and trace _ariaRoleDescription to the SELECT_ROLE_DESCRIPTION entry in src/i18n/messagebundle.properties. Check the accessibility behavior expected for the select combobox and review the existing tests for its rendered ARIA attributes. Done means the control is announced consistently with its combobox role and the relevant tests pass.

Written by the indexing model from the issue text.

Description

bug Medium Prio TOPIC P
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
  1. Go to https://ui5.github.io/webcomponents-react/v2/?path=/docs/inputs-select--docs
  2. Inspect the shadow DOM .ui5-select-label-root → it has role="combobox" and aria-roledescription="Listbox".
  3. 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.
Dominant language
TypeScript
Stars
1.8k
Forks
289
Avg merge
4d 5h
Merged PRs (30d)
33

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UI5/webcomponents

All issues in UI5/webcomponents

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.