Consolidate focus ring styles/colors

Open
#895 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
scss

Research direction

Start in assets/sass/protocol/includes/forms/_index.scss at lines 31-35 and compare the focus styles applied to buttons and form fields. Identify the existing ring styles and colors, then define the consistency goal for light and dark themes and opaque token usage. Done means the affected elements use unified focus styling without losing theme-specific needs.

Written by the indexing model from the issue text.

Description

Some elements, namely buttons and form fields, get a colored halo when they receive focus. There are a few different styles defined in https://github.com/mozilla/protocol/blob/main/assets/sass/protocol/includes/forms/_index.scss#L31-L35

We should unify focus styles for consistency across elements, and probably prefer opaque token colors rather than mixing or transparent. We may still want a different color for light and dark themes.

Dominant language
SCSS
Stars
298
Forks
83
Avg merge
8d 2h
Merged PRs (30d)
5

Contributor guide

No contributing guide indexed for this repository

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.

More from mozilla/protocol

All issues in mozilla/protocol

Similar issues

More Accessibility issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.