-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Populate label elements for street address fields in checkout #21484
Populate label elements for street address fields in checkout #21484
Conversation
Hi @scottsb. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@magento-engcom-team give me test instance |
Hi @okorshenko. Thank you for your request. I'm working on Magento instance for you |
Hi @okorshenko, here is your new Magento instance. |
Hi @miguelbalparda, thank you for the review. |
Hi @scottsb . There is problem with translate phrase in label for address fields. |
@VasylShvorak Please retest. (Note that I rebased and squashed.) |
561349b
to
e1fa289
Compare
Hi @sidolov, thank you for the review. |
✔️ QA passed |
Hi @scottsb, thank you for your contribution! |
@trucatchtraps did you manage to remove it? I have the same problem. |
Yes, I just added it to my custom theme less file. app/design/frontend/vendorname/themename/Magento_Customer/web/css/source/_extend.less
|
Description (*)
Populate
<label>
elements for the street fields in checkout. (The elements are already present but are blank by default.) This applies both when entering either a new shipping address or billing address.The one aspect of this PR I'm not certain is handled the best way is the translation of the label. Glad to see any suggestions for improvements on how I've done this.
Fixed Issues (if relevant)
#10893: Street fields in checkout don't have a label that's readable by a screenreader
Manual testing scenarios (*)
<label>
with text populated (e.g., "Street Address: Line 1"). These labels should be hidden visually (since meaning is implied visually by the fieldset legend) but accessible to screen reader software.Contribution checklist (*)