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

MWPW-163845: Merch-card a11y fix for CTAs #3403

Open
wants to merge 10 commits into
base: MWPW-163479
Choose a base branch
from
Open

Conversation

yesil
Copy link
Contributor

@yesil yesil commented Dec 20, 2024

Merch cards outside Milo, render checkout link styles using Spectrum CSS button for CCD.

With this change, I introduce a checkout-button customized built-in element (extending button) that can be styled directly using Spectrum CSS without having to wrap a a[is="checkout-link"]

⚠️ This PR will be pointed to stage once #3289 is merged.

Resolves:

Test URLs:

** Other pages: **

@yesil yesil requested a review from a team as a code owner December 20, 2024 11:07
Copy link
Contributor

aem-code-sync bot commented Dec 20, 2024

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link
Contributor

aem-code-sync bot commented Dec 20, 2024

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

eslint

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/330b40ea3253db466df811fa7140dbd3420e5d82/libs/features/mas/src/utils.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/330b40ea3253db466df811fa7140dbd3420e5d82/libs/features/mas/src/variants/ccd-slice.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/330b40ea3253db466df811fa7140dbd3420e5d82/libs/features/mas/test/checkout-button.test.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/330b40ea3253db466df811fa7140dbd3420e5d82/libs/features/mas/test/checkout-link.test.js


⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

https://github.com/adobecom/milo/blob/330b40ea3253db466df811fa7140dbd3420e5d82/libs/features/mas/test/hydrate.test.js

libs/deps/mas/commerce.js Outdated Show resolved Hide resolved
libs/deps/mas/mas.js Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

libs/features/mas/docs/checkout-button.html Dismissed Show dismissed Hide dismissed
libs/features/mas/src/checkout-mixin.js Dismissed Show dismissed Hide dismissed
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

Attention: Patch coverage is 96.65653% with 11 lines in your changes missing coverage. Please review.

Project coverage is 96.46%. Comparing base (69cfa63) to head (dd6b228).

Files with missing lines Patch % Lines
libs/features/mas/src/checkout-mixin.js 97.10% 7 Missing ⚠️
libs/features/mas/src/checkout-button.js 92.68% 3 Missing ⚠️
libs/features/mas/src/variants/ccd-suggested.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           MWPW-163479    #3403      +/-   ##
===============================================
- Coverage        96.47%   96.46%   -0.02%     
===============================================
  Files              254      256       +2     
  Lines            59090    59132      +42     
===============================================
+ Hits             57006    57040      +34     
- Misses            2084     2092       +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [eslint] reported by reviewdog 🐶
File ignored because of a matching ignore pattern. Use "--no-ignore" to override.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant