Skip to content

Conversation

@faisal-alvi
Copy link
Contributor

Submission Review Guidelines:

Changes proposed in this Pull Request:

The "Update Cart" button does not need an aria-disabled attribute, as it has a disabled attribute, this PR removes it.

Closes #37600.

How to test the changes in this Pull Request:

Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:

  1. Add product to the cart.
  2. Visit the Cart page
  3. Inspect the "Update Cart" button
  4. I should not have an aria-disabled attribute.

@github-actions github-actions bot added plugin: woocommerce Issues related to the WooCommerce Core plugin. type: community contribution labels Apr 19, 2023
@woocommercebot woocommercebot requested review from a team and coreymckrill and removed request for a team April 19, 2023 09:13
@louwie17 louwie17 self-requested a review April 19, 2023 09:49
louwie17
louwie17 previously approved these changes Apr 19, 2023
Copy link
Contributor

@louwie17 louwie17 left a comment

Choose a reason for hiding this comment

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

Nice work @faisal-alvi, thanks for fixing this!
This PR tested well and the changes look good, I did leave one minor suggestion on the changelog description, but that can be optional (as we may adjust these upon release). Do let me know if you do decide to update the changelog (otherwise feel free to merge if you are able to).

Significance: patch
Type: fix

The "Update Cart" button does not need an aria-disabled attribute, as it has a disabled attribute, this PR removes it. No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't have any specific guidelines around the changelog, but it might be worth re-wording this to reflect the actual change more, you could do something like this:

Removed aria-disabled attribute from "Update Cart" button as it already has a disabled attribute.

*editing the changelog file directly to update the description is fine.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That makes sense, thanks for the suggestion. Implemented: e5c306d

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for updating it, I re-approved! Should be good to merge after all actions finish running.

Copy link
Contributor

@louwie17 louwie17 left a comment

Choose a reason for hiding this comment

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

Thanks for updating the changelog :) LGTM 🚀

@jorgeatorres jorgeatorres requested review from jorgeatorres and removed request for coreymckrill April 19, 2023 11:19
Copy link
Member

@jorgeatorres jorgeatorres left a comment

Choose a reason for hiding this comment

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

LGTM.

@jorgeatorres jorgeatorres merged commit e20e1ca into woocommerce:trunk Apr 19, 2023
@github-actions github-actions bot added this to the 7.8.0 milestone Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin: woocommerce Issues related to the WooCommerce Core plugin. type: community contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accessibility Improvements ‣ Cart ‣ Update Cart Button

4 participants