Accessibility: Edit links on My Account Addresses page ambiguous #43631
Labels
focus: accessibility
The issue/PR is related to accessibility.
focus: my account
Issues related to my account page.
priority: normal
The issue/PR is of normal priority—not many people are affected or there’s a workaround, etc.
team: Proton
type: community contribution
Prerequisites
Describe the bug
The edit links for the billing and shipping addresses on the My Account Address page are ambiguous and don't specify which address you'll be editing. They both just have an anchor that says "Edit" and no aria-label.
woocommerce/plugins/woocommerce/templates/myaccount/my-address.php
Line 63 in 758df48
Expected behavior
Links should make it clear what their purpose is. The links should have an aria-label that adds the address title to add meaning for screen reader users.
Example:
<a href="https://shop.equalizedigital.com/my-account/edit-address/billing/" class="edit" aria-label="Edit billing address">Edit</a>
Actual behavior
The links are identical, though they do different things.
Steps to reproduce
See code linked above.
WordPress Environment
N/A
Isolating the problem
The text was updated successfully, but these errors were encountered: