patternfly / patternfly/patternfly

Bug - Tabs - move "box" borders from link to list item, fix HC styles

Open
#7,863 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Breaking change :boom: PF Team Stale
Dominant language
SCSS
Stars
817
Forks
116
Avg merge
4d 11h
Merged PRs (30d)
14

Description

Currently the "box" borders are on the tab link/button's ::before pseudo element, and those should be able to go to the parent list item instead.

Currently the high contrast border styles on the link/button are not using the correct tokens due to being directly on the link/button - if we freed up the ::before element, we could move the HC border styles to ::before and use the correct tokens.


Jira Issue: PF-2728

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 locating the tab styles that place the box borders on the link or button's ::before pseudo-element, then inspect the parent list item and the high-contrast styles. Move the relevant border responsibilities to their intended elements and verify that the high-contrast styles use the correct tokens; confirm the tab appearance in high-contrast mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
scss
Domain
accessibility, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.