Skip to content

fix: restore focus-visible outline, remove dead CSS, center box text#100

Open
fix2015 wants to merge 1 commit into
zarazhangrui:mainfrom
fix2015:fix/accessibility-and-dead-css
Open

fix: restore focus-visible outline, remove dead CSS, center box text#100
fix2015 wants to merge 1 commit into
zarazhangrui:mainfrom
fix2015:fix/accessibility-and-dead-css

Conversation

@fix2015

@fix2015 fix2015 commented Jul 3, 2026

Copy link
Copy Markdown

Keyboard users couldn't see which button was focused because both `:focus` and `:focus-visible` had `outline: none` in the deck-stage shadow styles. Kept `:focus { outline: none }` for mouse users but gave `:focus-visible` a visible outline so keyboard navigation actually works.

Also:

  • removed a dead `color: inherit` declaration in `.btn` that was silently overridden by `color: rgba(255,255,255,0.72)` a few lines down
  • centered the box-drawing text in the deploy and export scripts — the padding was uneven on both sides

keyboard users had no visible focus indicator on buttons because
:focus-visible was set to outline: none. added a subtle white outline
so keyboard navigation actually works.

also:
- removed dead color: inherit declaration that was silently overridden
- centered the box-drawing text in deploy.sh and export-pdf.sh scripts
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