sbb-design-systems / lyne-components

Components for Lyne Design System
https://lyne-storybook.app.sbb.ch
MIT License
46 stars 13 forks source link

[Bug]: sbb-teaser accessibility problems #3173

Open orsolya-gyovai opened 3 hours ago

orsolya-gyovai commented 3 hours ago

Preflight Checklist

Request type

Request for enhancement of a component

It affects the following packages

Components

Functionality

Dear All,

We need some adjustment (or new feature?) for the sbb-teaser: [https://feature-sbbch-20354-discount-teaserset.dev-www.sbb.ch/de/angebote/halbtax-plus-kaufen-test-1] This is now implemented with the 'sbb-teaser'. The problem with this is that after focusing on the element and then pressing the arrow key, the screen reader does not output the detailed describing text below the title, but the title of the following tile is output. The needed component should behave like the 'sbb-card-link' tag, but should contain an image. Jeremias and Lennox have already discussed the problem, but but we can have a quick look together, so that it is easier to understand what I mean :-)

Link to design proposal file

No response

LEGlism commented 2 hours ago

its the Teaser Component of lyne.

jeripeierSBB commented 41 minutes ago

Should probably implemented like the sbb-card. As it is a breaking change I assign the issue to the next major version.