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

[bug] HCM: Fix hover and focus color for post-avatar in anchor and button contexts #4294

Open
alionazherdetska opened this issue Dec 15, 2024 · 0 comments · May be fixed by #4338
Open

[bug] HCM: Fix hover and focus color for post-avatar in anchor and button contexts #4294

alionazherdetska opened this issue Dec 15, 2024 · 0 comments · May be fixed by #4338
Assignees
Labels
💜 accessibility 🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package
Milestone

Comments

@alionazherdetska
Copy link
Contributor

alionazherdetska commented Dec 15, 2024

Description:
The post-avatar component is missing proper hover and focus color behaviors in specific contexts:

  1. When nested inside an anchor tag:
    The hover color is not applied.
  2. When inside a button:
    The hover effect is missing.
    The focus color is applied incorrectly, appearing on top of the avatar border.
    Image

Steps to Reproduce:

  1. Enable high contrast mode in the browser or system settings.
  2. Navigate to a page for post-avatar component.
  3. Hover over or focus on the component nested inside the anchor tag and a button.
  4. Observe the missing or inconsistent hover and focus styles.
@alionazherdetska alionazherdetska changed the title [bug]: Fix hover and focus color for post-avatar in anchor and button contexts [bug] HCM: Fix hover and focus color for post-avatar in anchor and button contexts Dec 15, 2024
@alionazherdetska alionazherdetska added this to the PPNL Support milestone Dec 15, 2024
@gfellerph gfellerph added the 📦 components Related to the @swisspost/design-system-components package label Dec 16, 2024
@gfellerph gfellerph moved this from 👀 Triage to 💻 Ready for development in Design System Production Board Dec 16, 2024
@alionazherdetska alionazherdetska self-assigned this Dec 16, 2024
@alionazherdetska alionazherdetska moved this from 💻 Ready for development to 🕹️ Coding in progress in Design System Production Board Dec 18, 2024
@alionazherdetska alionazherdetska moved this from 🕹️ Coding in progress to 🤬 Dev in Code Review in Design System Production Board Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💜 accessibility 🐞 bug Something isn't working 📦 components Related to the @swisspost/design-system-components package
Projects
Status: 🤬 Dev in Code Review
2 participants