Closed Reid-McNaughton closed 1 week ago
![]() |
![]() |
![]() |
![]() |
![]() |
Details:
Merge a8aa6fa9534abd249cab0cc5c69f0c167064b5e3 into 75e8ca4045bb4d936a77d5395b50... | |||
Project: spartacus | Commit: 1a1b0bcb86 ℹ️ |
||
Status: Passed | Duration: 04:03 💡 | ||
Started: Jun 26, 2024 9:11 PM | Ended: Jun 26, 2024 9:15 PM |
View
Output
Video
Test | Artifacts | |
---|---|---|
B2B - Credit Card Checkout flow > should checkout using a credit card |
Test Replay
Screenshots
Video
|
View
Output
Video
Test | Artifacts | |
---|---|---|
SSR > should render homepage |
Test Replay
Screenshots
Video
|
|
SSR > should render PLP |
Test Replay
Screenshots
Video
|
|
SSR > should render PDP |
Test Replay
Screenshots
Video
|
This restores the old behaviour.
@RadhepS - Would you be able to review this change?
It preserves past behaviour and maximises contrast in common scenarios. I don't actually mind the unintended colour change introduced by a11yImproveContrast, but we either need to preserve the old behaviour (which is straightforward) or make other some other changes to achieve consistent behaviour.
@sam-garland Sorry for the delay! The PR has been approved. Next time you can send me a direct message on slack or an email! I often get too many emails for github so they get ignored.
closes: CXSPA-7616
The foreground colors used in the buttons in the floating toolbar are aligned with the colours used for the buttons in this component:![image](https://github.com/SAP/spartacus/assets/52560012/bdb2ecee-851e-4759-a51e-1fae51d722b2)
Behaviour with a11yImproveContrast enabled (without the changes in this PR):![image](https://github.com/SAP/spartacus/assets/52560012/b87c71af-ceb9-4bee-ae74-48b7efb6d3dd)
Expected behaviour:![image](https://github.com/SAP/spartacus/assets/52560012/e68a01ac-2cc2-4e63-8db7-2c394a7cf1f7)
We either need to apply the changes in this PR or alternatively we could keep this unexpected color change (which does not look bad to me) and make other changes to align with the colors used on secondary buttons (adding a colour change on hover for instance).