Skip to content

code editor accessibility - #925

Merged
SharonStrats merged 2 commits into
stagingfrom
feat/editor-accessibility
Nov 10, 2026
Merged

SharonStrats merged 2 commits into
stagingfrom
feat/editor-accessibility

Conversation

@SharonStrats

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues block approval of the editor accessibility and read-only updates.

No open issues 🎉

What changed in this PR

This PR adds accessibility configuration to the shared code editor and aligns its read-only state with CodeMirror’s editing controls.

Changes:

  • Add optional accessible labels and descriptions, with support for updating them after initialization.
  • Update read-only mode to configure both editor editability and state-level read-only behavior.
  • Extend unit tests and mocks to cover the new configuration.
File Description
test/​unit/​codeEditor.test.js Adds accessibility tests and updates read-only expectations and mocks.
src/​lib/​code-editor/​CodeEditor.ts Adds accessible attributes, a runtime update method, and state-level read-only configuration.

Review effort: Balanced

@SharonStrats
SharonStrats force-pushed the feat/editor-accessibility branch from fc084fb to 42e310e Compare November 10, 2026 00:12
@SharonStrats SharonStrats moved this to In review in SolidOS NLNet UI Nov 10, 2026
@SharonStrats SharonStrats linked an issue Nov 10, 2026 that may be closed by this pull request
@SharonStrats
SharonStrats merged commit d9e8037 into staging Nov 10, 2026
9 checks passed
@SharonStrats
SharonStrats deleted the feat/editor-accessibility branch November 10, 2026 00:25
@github-project-automation github-project-automation Bot moved this from In review to Done in SolidOS NLNet UI Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Code Editor - add accessibility to support panes

2 participants