January Shopify announced a new version of the Customer Accounts section. This pertains to the ‘Account’ login link shown in the online store and checkout.
If you follow the instructions in Shopify tutorials properly you can add a new domain ‘account.(yourwebsite).com’ add it to the Domain list and point it to the target of Customer Accounts. You can turn on the new Customer Accounts by going to Admin>Settings>Customer Accounts> Accounts in online store and checkout - Clicking Edit and then changing the option from “classic…” to “New…” Once you hit save, the “Accounts” link in the header is now being forwarded to the sub-domain and you have a new customer portal that actually work way better!
Here is the link to the Shopify Tutorial ( https://help.shopify.com/en/manual/customers/customer-accounts/new-customer-accounts ). The above mentioned starts at the section labeled “Setup New Customer Accounts”
Fast-forward 9 months. My ecom store is being sued for an ADA violation and the ADA violation that is being listed is that the "Account’ link in my header opens an external website and there is no proper attributes for screen readers attached to the link code.
I talked with Shopify support via chat and they have confirmed that I did not modify any code and they also confirmed that, Yes, the link does need to have plain text, or ARIA attributes stating the link opens an external site.
This means that Shopify’s own code is lacking this attribute and it has been lacking that since its release. Let me reiterate, that there is no part of the install that requires any coding, or adding any links yourself. You simply follow the instructions as mentioned above and its populated on your site. Which means this added bit should be populated correctly with simple accessibility standards already done. Especially since Shopify lists accessibility as a priority in their policies.
For some of you who will mention that I should have tested this via the WAVE tool or any number of accessibility checkers please note that the link in the code is href = “/account”, which means automated accessibility site checkers pick this link up as an internal link, and do not show it as a violation.
I have asked chat for a number to call for support and they told me it is not something they have, and that my best bet is to post here and have a Shopify expert contact me.
Please be warned about adding this to your site though the Customer Accounts admin!!!
-Also I would love to be proven wrong about this and shown that this link is actually correct and is not in violation of WCAG 2.2 AA standards.
TLDR: Adding the New Customer Accounts header link via Shopify instructions though the admin, will populate a link on your header that does not have the proper attributes for accessibility and may open you up to lawsuits.