This issue is automatically created based on existing pull request: magento/pwa-studio#3790: AC-2497::Credit card entry format is not descriptive. (Checkout - Pay…
Description
Credit card entry format is not descriptive. (Checkout - Payment)
Reproduction Steps
select "Blouses & Shirts" > select "Susanna Draped Tank" > add product to cart > select bag > select "Edit Shopping Bag" > select "Proceed to Checkout" > complete shipping information and continue to "Shipping Method" > complete shipping method and continue to "Payment Information" (TEST - Payment information][NODE][body>div:nth-of-type(1)>:nth-child(1)>:nth-child(3)>:nth-child(1)>:nth-child(1)>:nth-child(5)>:nth-child(1)>:nth-child(1)>:nth-child(1)>*:nth-child(1)]
With JAWS operating, press Tab to move focus to the Card Number input.
Actual Behavior
The Card Number input has a placeholder value of 16 bullet characters. For users whose screen readers announce the placeholder attribute, this text is verbose and confusing.
Expected Behavior
Ensure that label and description text is appropriately descriptive. If a format hint is necessary, provide it in text that is persistently visible and programmatically associated with the input. Text such as "16-digit number" would be more appropriate than bullet characters.
Make sure to have a customer login for front end login
Manual Steps executed:
Login to venia > Navigate to global header accessories or other
Add product to cart > select bag > select "Edit Shopping Bag" > select "Proceed to Checkout" > complete shipping information and continue to "Shipping Method" > complete shipping method and continue to "Payment Information" (TEST - Payment information]
Enable your screen reader and press Tab to move focus to the Card Number input.
✖️ Behaviour Before The Fix : The Card Number input has a placeholder value of 16 bullet characters. For users whose screen readers announce the placeholder attribute, this text is verbose and confusing.
✔️Behaviour After The Fix: The Card Number input has a Text such as "16-digit number"
Checklist
I have added tests to cover my changes, if necessary.
I have added translations for new strings, if necessary.
I have updated the documentation accordingly, if necessary.
This issue is automatically created based on existing pull request: magento/pwa-studio#3790: AC-2497::Credit card entry format is not descriptive. (Checkout - Pay…
Description
Credit card entry format is not descriptive. (Checkout - Payment)
Reproduction Steps select "Blouses & Shirts" > select "Susanna Draped Tank" > add product to cart > select bag > select "Edit Shopping Bag" > select "Proceed to Checkout" > complete shipping information and continue to "Shipping Method" > complete shipping method and continue to "Payment Information" (TEST - Payment information][NODE][body>div:nth-of-type(1)>:nth-child(1)>:nth-child(3)>:nth-child(1)>:nth-child(1)>:nth-child(5)>:nth-child(1)>:nth-child(1)>:nth-child(1)>*:nth-child(1)]
Actual Behavior The Card Number input has a placeholder value of 16 bullet characters. For users whose screen readers announce the placeholder attribute, this text is verbose and confusing.
Expected Behavior Ensure that label and description text is appropriately descriptive. If a format hint is necessary, provide it in text that is persistently visible and programmatically associated with the input. Text such as "16-digit number" would be more appropriate than bullet characters.
Related Issue
Closes https://jira.corp.magento.com/browse/AC-2497.
Verification Steps
Pre-Conditions:
Manual Steps executed:
Login to venia > Navigate to global header accessories or other Add product to cart > select bag > select "Edit Shopping Bag" > select "Proceed to Checkout" > complete shipping information and continue to "Shipping Method" > complete shipping method and continue to "Payment Information" (TEST - Payment information] Enable your screen reader and press Tab to move focus to the Card Number input.
✖️ Behaviour Before The Fix : The Card Number input has a placeholder value of 16 bullet characters. For users whose screen readers announce the placeholder attribute, this text is verbose and confusing. ✔️Behaviour After The Fix: The Card Number input has a Text such as "16-digit number"
Checklist