Skip to content

Carousel: issues brought up by axe DevTools #11634

@rama1990br

Description

@rama1990br

Describe the bug

A scan by axe DevTools on the Carousel component brings up the following as one of the a11y issues which needs to be fixed:
Certain ARIA roles must contain particular children

This can be fixed by adding a role attribute set to "listitem" on the following HTML element:

. . .

Isolated Example

No response

Reproduction steps

  1. Go to the Playground for UI5 Webcomponents Carousel component:

  2. Run the axe DevTools browser extension on the page and the following issue shows up:
    Certain ARIA roles must contain particular children

Expected Behaviour

The following a11y issue needs to be fixed for the Carousel component:
Certain ARIA roles must contain particular children

Screenshots or Videos

Image

UI5 Web Components for React Version

1.29.10

UI5 Web Components Version

1.24.9

Browser

Chrome

Operating System

macOS 15.3.1 (24D70)

Additional Context

No response

Relevant log output

Organization

SAP SuccessFactors

Declaration

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

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions