Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

story(sbb-teaser-hero): refactor for multiple use cases #2949

Closed
9 tasks
kyubisation opened this issue Jul 22, 2024 · 0 comments · Fixed by #2984
Closed
9 tasks

story(sbb-teaser-hero): refactor for multiple use cases #2949

kyubisation opened this issue Jul 22, 2024 · 0 comments · Fixed by #2984
Assignees
Labels
complexity: S Can be done in about a day proposal: accepted

Comments

@kyubisation
Copy link
Contributor

kyubisation commented Jul 22, 2024

Feature Description

We want to refactor the sbb-teaser-hero (and in turn remove sbb-teaser-paid) for the new requirements from #2602.

  • The teaser hero should additionally support chips (as is currently done in sbb-teaser-paid with a slot).
  • If no unnamed slot content is slotted and the link-content property and slot is not used, the red panel should not be displayed.
  • Move sbb-teaser-hero into the main package.
  • Delete sbb-teaser-paid

Closes #2602

Definition of Done

  • Component is refactored
  • Documentation is updated
  • Tests are implemented
  • Storybook stories are implemented
  • Navigation via keyboard is tested
  • Screen reader output is tested
  • High-contrast is tested
  • Remaining accessibility is tested
  • UX approved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: S Can be done in about a day proposal: accepted
Projects
Archived in project
2 participants