Dataport / Dataport/polar

Consistent focus outline styles across core and plugins

Open
#871 0 comments 0 reactions 1 assignee View on GitHub

@jedi-of-the-sea is already working on this.

Since Aug 5, 2026.

accessibility enhancement refactor
Dominant language
TypeScript
Stars
50
Forks
8
Avg merge
18h 24m
Merged PRs (30d)
11

Description

Description

The focus outline styles currently deviate in a few places. They should be streamlined, so only two focus outline styles are used:

  • Elements that are being displayed directly over the map (e.g. PolarIconButton)
  • Elements that are being used in a context that include a background

Current behavior

Outlines are sometimes styled by KERN, sometimes they use the native outline styles and in the case of the PolarIconButton we use completely different approach.

Expected behavior

Any element that is being displayed directly on the map should use the focus outline styling of the PolarIconButton.
Any other element should use the KERN default focus outline.

outline: 4px solid var(--kern-color-action-focus-default-contextual, #454B6B);
outline-offset: 2px;

Out of scope

Only the focus style should be changed, no logic.

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.