Skip to content

Add programmatic label to Simplified Summary textarea - #1823

Merged
pattonwebz merged 2 commits into
developfrom
steve/pro-997-simplified-summary-text-area-is-missing-a-programmatic-label
Jul 14, 2026
Merged

Add programmatic label to Simplified Summary textarea#1823
pattonwebz merged 2 commits into
developfrom
steve/pro-997-simplified-summary-text-area-is-missing-a-programmatic-label

Conversation

@SteveJonesDev

@SteveJonesDev SteveJonesDev commented Jul 5, 2026

Copy link
Copy Markdown
Member

The Simplified Summary textareas in the editor sidebar relied solely on
placeholder text for their accessible name, which disappears once the
user types. Add a visually hidden label so assistive technology always
announces the field's purpose (WCAG 3.3.2).

Fixes #1766

Co-Authored-By: Claude Fable 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_016H6Hjd5LrCUVG8LYiQ6y7X

Summary by CodeRabbit

  • Accessibility
    • Improved form labeling for the “Simplified Summary” fields, making them easier for assistive technologies to interpret while keeping the visual interface unchanged.

The Simplified Summary textareas in the editor sidebar relied solely on
placeholder text for their accessible name, which disappears once the
user types. Add a visually hidden label so assistive technology always
announces the field's purpose (WCAG 3.3.2).

Fixes #1766

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016H6Hjd5LrCUVG8LYiQ6y7X
@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 79c41acd-4189-421b-bd6e-a41e1a9639b4

📥 Commits

Reviewing files that changed from the base of the PR and between 4d20097 and 1f771dc.

📒 Files selected for processing (1)
  • src/sidebar/components/Panels/ReadabilityAnalysis.js

📝 Walkthrough

Walkthrough

Two TextareaControl instances for "Simplified Summary" in ReadabilityAnalysis.js are updated to include an explicit localized label prop and hideLabelFromVision={true}, providing a programmatic label while preserving existing visual presentation.

Changes

Simplified Summary label fix

Layer / File(s) Summary
Add explicit label to Simplified Summary textareas
src/sidebar/components/Panels/ReadabilityAnalysis.js
Both the reading-level panel and fallback "requiresSummary" panel TextareaControl instances now include an explicit "Simplified Summary" label with hideLabelFromVision={true}.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Related Issues: #1766

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: adding a programmatic label to the Simplified Summary textarea.
Linked Issues check ✅ Passed The PR adds a programmatic label and visually hidden label text for the Simplified Summary textarea, addressing issue #1766.
Out of Scope Changes check ✅ Passed The change is narrowly scoped to the accessibility label update and introduces no unrelated behavior or API changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch steve/pro-997-simplified-summary-text-area-is-missing-a-programmatic-label

Comment @coderabbitai help to get the list of available commands.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the ReadabilityAnalysis component by adding label and hideLabelFromVision props to two TextareaControl elements, which improves accessibility by providing hidden labels for screen readers. There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@pattonwebz
pattonwebz merged commit 930856e into develop Jul 14, 2026
18 checks passed
@pattonwebz pattonwebz mentioned this pull request Jul 14, 2026
9 tasks
@github-actions github-actions Bot mentioned this pull request Jul 14, 2026
9 tasks
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.

Simplified Summary Text Area Is Missing a Programmatic Label

3 participants