Skip to content
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

Removing placeholder text from Carbon Design System #5022

Closed
dakahn opened this issue Jan 13, 2020 · 2 comments · Fixed by #9510
Closed

Removing placeholder text from Carbon Design System #5022

dakahn opened this issue Jan 13, 2020 · 2 comments · Fixed by #9510
Labels
hacktoberfest See https://hacktoberfest.com/ proposal: accepted This request has gone through triaging and we are accepting PR's against it. role: dev 🤖 type: discussion 💬 version: 11 Issues pertaining to Carbon v11

Comments

@dakahn
Copy link
Contributor

dakahn commented Jan 13, 2020

Summary

According to our guidance placeholder text should be avoided and definitely not used to convey critical information (input format etc) to the user. That said, there has been some discussion recently about what it might take (from a dev and design standpoint) to take placeholders out (?).

Justification

Lots of research around placeholders and user expectations. Here's some I had on hand. Feel free to edit and add other links:

https://www.w3.org/WAI/GL/low-vision-a11y-tf/wiki/Placeholder_Research

Questions

There are many, but one that came up in conversation was -- what would the blast radius of removing this feature be? Potentially any of our text inputs can have hidden labeling (and be using Placeholder as an ad hoc label 🤷‍♂

@dakahn dakahn added type: enhancement 💡 role: visual 🎨 type: discussion 💬 role: dev 🤖 proposal: open This request has gone through triaging. We're determining whether we take this on or not. and removed type: enhancement 💡 labels Jan 13, 2020
@asudoh
Copy link
Contributor

asudoh commented Jan 13, 2020

CC @carbon-design-system/design

@joshblack
Copy link
Contributor

Proposal Triage Meeting, January 21st, 2020

Potential problems with removal

  • If a team is not using a label, this would remove a user's ability to discover what the input is for

Usage in the wild

  • Some teams use placeholders instead of labels
  • Some teams use placeholders instead of helper text
    • These are both WCAG AA violations because of contrast requirements for text

Next steps

  • We have a variation of a component that could help with this use-case
  • Should consider adding a prompt token that hits contrast requirements (or update placeholder)

@joshblack joshblack added proposal: accepted This request has gone through triaging and we are accepting PR's against it. version: 11 Issues pertaining to Carbon v11 and removed proposal: open This request has gone through triaging. We're determining whether we take this on or not. labels Jan 21, 2020
@tw15egan tw15egan added hacktoberfest See https://hacktoberfest.com/ and removed hacktoberfest See https://hacktoberfest.com/ labels Sep 29, 2020
@joshblack joshblack mentioned this issue Mar 3, 2021
@joshblack joshblack mentioned this issue Aug 9, 2021
55 tasks
@joshblack joshblack mentioned this issue Aug 30, 2021
20 tasks
@tay1orjones tay1orjones added this to the v11 Beta 3 milestone Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest See https://hacktoberfest.com/ proposal: accepted This request has gone through triaging and we are accepting PR's against it. role: dev 🤖 type: discussion 💬 version: 11 Issues pertaining to Carbon v11
Projects
Archived in project
Archived in project
5 participants