Skip to content

[ui5-carousel]: entire container is focusable instead of individual items #11873

@ee92

Description

@ee92

Bug Description

The focus outline is shown on the whole carousel container, instead of individual items within in

Affected Component

ui5-carousel

Expected Behaviour

Expected behavior should be the same as SAPUI5 carousel:
https://sapui5.hana.ondemand.com/#/entity/sap.m.Carousel/sample/sap.m.sample.CarouselWithMorePages

Each child of the carousel should be individually focusable and navigable with arrow keys.

Isolated Example

https://sap.github.io/ui5-webcomponents/components/Carousel/#multiple-items-per-page

Steps to Reproduce

  1. go to https://sap.github.io/ui5-webcomponents/components/Carousel/#multiple-items-per-page
  2. tab to the carousel
  3. notice the entire carousel is focused - not just the first item in it

Log Output, Stack Trace or Screenshots

ui5-carousel:
Image

sapui5 carousel:
Image

Priority

None

UI5 Web Components Version

2.12.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

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