mapbox / mapbox/assembly

Improve focus states for text inputs and textareas

Open
#998 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dunkagroo estimate-2 jira-sync-complete p2
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.

Screen Shot 2021-04-15 at 11 19 36 AM

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.