aem-core-cif-components icon indicating copy to clipboard operation
aem-core-cif-components copied to clipboard

[Accessibility] [Mini Cart] The coupon code input field relies solely on a placeholder value to label it.

Open LevelAccessA11y opened this issue 4 years ago • 3 comments

Steps to Reproduce

  1. Open page in Google Chrome.
  2. Activate the "Enter your code" field and input any value.

Current Behavior Because the field has no visual or programmatic label, it relies on the placeholder value to convey a name. Users with cognitive impairments can struggle with inputs labelled only with placeholder text, because the label disappears once the user begins entering content in the field.

Expected behavior/code Ensure that fields have a persistently visible label. Use a label element and associate it with the field via a for attribute with an ID reference as the value.

Environment Chrome 92, Windows 10 AEM Core Components v. 2.17

Affected Users Users with cognitive impairments

WCAG SC 3.3.2 Labels or Instructions

LevelAccessA11y avatar Aug 27 '21 00:08 LevelAccessA11y

@adobe export issue to Jira project SITES

richardhand avatar Sep 01 '21 15:09 richardhand

:white_check_mark: Jira issue SITES-2527 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Sep 01 '21 15:09 github-jira-sync-bot

Tracked via CIF-2358

mhaack avatar Sep 07 '21 14:09 mhaack