Skip to content

TabContainer: Duplicate JAWS Announcements #13540

@rjeela5

Description

@rjeela5

Describe the bug

The TabContainer's tab panel element includes an aria-labelledby attribute that causes duplicate announcements for screen reader users. When a user selects a tab and enters its content panel, JAWS announces the tab label twice: once when the tab is selected, and again when entering the tab panel. This creates a redundant and poor screen reader user experience, as users hear the same information repeated unnecessarily.

Isolated Example

https://stackblitz.com/edit/github-ddtqnziq-7ctuldtp?file=src%2FApp.tsx

Reproduction steps

Test Environment & Instance:
DPPECWSMJPBGP/sfadmin/Welcome@22
Windows 11/Chrome latest/JAWS 2025
Steps:

  1. Login to instance and go to the direct urls below:
    Navigate to https://qacand.qa.hr.cloud.sap/sf/wholeselfmanagement?isSkillGovernanceEnabled#/
  2. Click Skills and then "Skill Governance" button at top right.
  3. Skills Governance page is opened.
  4. With JAWS ON, in VPC mode navigate within table and verify announcement for tablist panel.

Expected Behaviour

Actual Results:
Observe that, each tablist header is getting announced multiple times by screen reader.

Expected Result:
Ensure there is no repetitive announcement for tablist in VPC mode Repetitive announcements should be avoided as it can be a bad screen reader user experience. Hence each option should be announced only once

Screenshots or Videos

Image

UI5 Web Components for React Version

v2.18.0, v2.21.3

UI5 Web Components Version

v2.18.1, v2.21.1

Browser

Chrome

Operating System

Windows

Additional Context

Reported bug id: https://jira.tools.sap/browse/WSM-33193

PR to fix the issue, but the shadow DOM changes might cause regression issues: https://github.wdf.sap.corp/xweb/ws-admin/pull/972

Relevant log output

Organization

SAP

Declaration

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

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions