Skip to content

fix(web): make article editor controls keyboard accessible - #15

Merged
reactpressjs merged 5 commits into
reactpressjs:mainfrom
devashish10079:fix/13-keyboard-editor-controls
Dec 5, 2026
Merged

reactpressjs merged 5 commits into
reactpressjs:mainfrom
devashish10079:fix/13-keyboard-editor-controls

Conversation

@devashish10079

Copy link
Copy Markdown
Contributor

Description

The article summary was toggled by a click handler on a header, and the editor toolbar used clickable spans. Replace those controls with native buttons so Tab, Enter and Space work without custom keyboard handlers. The summary announces its expanded state, toolbar modes and Outline expose their pressed state, and the Fullscreen button has a localized accessible name. Visible focus is added while preserving the existing layout.

Related Issue

Fixes #13

Type of Change

  • Bug fix (non-breaking change)

Checklist

  • Added Playwright coverage for the article summary and the editor toolbar.
  • Both targeted Chromium tests passed against the mock-mode editor. The upstream summary test failed because the summary button was absent.
  • Web type checking, targeted Vite+ lint, the web production build, and git diff --check passed.

Additional Context

The keyboard focus ring is the only intended visual change. The full cross-project CI suite was not run locally.

@reactpressjs
reactpressjs merged commit 098da4b into reactpressjs:main Dec 5, 2026
@reactpressjs

Copy link
Copy Markdown
Owner

Thank you for your contribution to ReactPress.

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.

EditorMetaPanel header is clickable but not keyboard accessible

2 participants