Improve focus states for text inputs and textareas
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 138
- Forks
- 26
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 3
Description
Currently, the focus states for text inputs, textareas, and selects are very subtle and difficult to identify unless you know what to look for. The borders for each are only updated to use the relevant `-dark` color variant when focused.
We should make these more prominent.
In https://github.com/mapbox/assembly/pull/992, we updated stroked selects to use a double box-shadow when focused. We might want to implement the same changes for text inputs and textareas.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the focus-state styles for text inputs, textareas, and selects, then compare them with the double box-shadow approach described in pull request 992. Update the relevant focus presentation so it is more prominent, and verify that all three control types visibly change when focused.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- accessibility, design, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100