Skip to content

[Accessibility] : Menu component does not support correct aria-posinset and aria-setsize for grouped items #13389

@paresh-singh

Description

@paresh-singh

Bug Description

Bug Description

In LWV (Lightweight Viewer), the bookmark menu is implemented using UI5WCR Menu / MenuItem components.

We observed that the rendered menu items do not expose correct accessibility attributes such as:

aria-posinset
aria-setsize

As a result, screen readers are unable to correctly interpret:

  1. the total number of items in the menu
  2. the position of each item within the set

This leads to incorrect or incomplete accessibility announcements.

Actual Behavior

  1. Menu items rendered via UI5WCR do not provide correct positional metadata
  2. No clear way to control or override these attributes at application level
  3. Grouped menu structures are not reflected properly in accessibility tree

Impact

  1. Accessibility compliance issue (screen reader usability degraded)
  2. Affects bookmark menu in LWV
  3. Cannot be resolved at application level due to framework abstraction

Observe missing or incorrect:
aria-posinset
aria-setsize

Observed Limitation
The UI5WCR Menu abstraction does not allow:
manual control over positional ARIA attributes
proper grouping semantics required for accessibility

Image

Affected Component

No response

Expected Behaviour

Menu items should:

  1. correctly expose aria-posinset and aria-setsize
  2. support logical grouping so screen readers can interpret item hierarchy and count accurately

Isolated Example

No response

Steps to Reproduce

  1. Create a menu using UI5WCR Menu and MenuItem
  2. Add multiple items (optionally grouped logically)
  3. Inspect DOM tree

Log Output, Stack Trace or Screenshots

No response

Priority

None

UI5 Web Components Version

1.24.24

Browser

Chrome

Operating System

No response

Additional Context

This limitation blocks fixing accessibility issues in LWV bookmark menu at application level.

Organization

SAP Analytics Cloud

Declaration

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

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

New Issues

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions