Skip to content

Tabs: a role="tablist" row with the selected tab underlined - #48

Merged
evangress merged 1 commit into
guide-splitfrom
tabs
Nov 11, 2026
Merged

evangress merged 1 commit into
guide-splitfrom
tabs

Conversation

@evangress

Copy link
Copy Markdown
Collaborator

Stacked on #47. Pairs with kovirlabs/tagaction#1, which switches the panels and adds the arrow keys.

<div role="tablist"> of <button role="tab" aria-controls="…" aria-selected="true"> buttons is a row with a hairline under it; the selected tab is underlined in the primary color and full-contrast, the others muted, with a soft hover. Tabs reuse the button variables (--_btn-bg, --_btn-color), so themes carry over. Without TagAction every role="tabpanel" shows, one after another.

Guide: a Tabs line in the index and the apps detail file (the index-coverage test checks both). README and CHANGELOG updated.

Checks

A computed-style test in content-intent.html (row layout, underline color, muted vs selected text, transparent background). Chromium 246 passed, WebKit 229 passed; Firefox can't launch locally. Checked visually in light and dark with TagAction switching panels.

🤖 Generated with Claude Code

TagAction now switches role="tabpanel" panels and adds the arrow keys
(kovirlabs/tagaction#1); this styles the tabs themselves. Without
TagAction every panel shows. The guide's apps detail file and index
list the pattern.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@evangress
evangress merged commit 93a6fc9 into guide-split Nov 11, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant