Skip to content

[SegmentedButton]: Incorrect and missing ARIA Attribute #12263

@Martin-Rippel

Description

@Martin-Rippel

Bug Description

The segmented button's ul HTML element with role "listbox" has two issues regarding aria attributes:

  1. Remove aria-multiselectable="true" for selectionMode="Single" — When selectionMode="Single" is configured, only one segment can be selected at a time. In this case, the segmented button should not be declared as multiselectable.
  2. Add aria-orientation="horizontal" — The segmented button is oriented horizontally. However, due to the "listbox" role, the default orientation is set to vertical.

Affected Component

No response

Expected Behaviour

No response

Isolated Example

No response

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

2.14.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Labels

TOPIC BbugThis issue is a bug in the code

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions