Styling `:focus-within` on `<details>`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- css
- Domain
- accessibility, frontend
Research direction
Use the issue's details:has(summary:focus-within) selector as the entry point and locate the existing
styles. Test keyboard focus on a in a browser, then confirm that the details element shows the accent border and outline while its summary is focused.
Written by the indexing model from the issue text.
Description
Currently tabbing to a <details> does not show the usual :focus-within outline (technically, tabbing to the <summary>)
This could be fixed with
details:has(summary:focus-within) {
border-color: var(--accent);
outline: .2em solid var(--accent);
}
- Dominant language
- CSS
- Stars
- 798
- Forks
- 29
- PR merge metrics
- No merged PRs in 30d
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.
More from bigskysoftware/missing
-
visual
Difficulty 1/5 Under an hour Newbie friendliness 78/100
bigskysoftware/missing#172 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
bigskysoftware/missing#162 · 1 comment · 1 reaction ·
-
enhancement question
Difficulty 5/5 Over a week Newbie friendliness 30/100
bigskysoftware/missing#174 ·
-
visual
bigskysoftware/missing#173 · 1 assignee ·
-
visual
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
bigskysoftware/missing#170 · 1 comment ·
All issues in bigskysoftware/missing
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
joinmarket-webui/jam#1496 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wvuweb/wvu-ds-v3-hugo#7 ·
-
a11y: JAWS a11y: VoiceOver good first issue 👋 needs: code contribution needs: community contribution package: @carbon/react platform: macos status: help wanted 👐 type: a11y ♿ type: bug 🐛
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
carbon-design-system/carbon#23393 · 1 comment ·