Skip to content

fix: Add focus treatment comparison section to input documentation#3593

Draft
Spark450 wants to merge 4 commits intodevfrom
claude/add-input-components-docs-JXAuH
Draft

fix: Add focus treatment comparison section to input documentation#3593
Spark450 wants to merge 4 commits intodevfrom
claude/add-input-components-docs-JXAuH

Conversation

@Spark450
Copy link
Collaborator

Before (the change)

The input component documentation ended with a description of input states (error, disabled, read-only) without any visual reference for comparing focus styles across different form components.

After (the change)

Added a new "Focus Treatment Comparison" section to the input documentation that includes interactive examples of multiple components (text area, dropdown, checkbox, radio group, date picker, buttons, chips, etc.) to allow developers to tab through and inspect focus styles consistently across the component library.

Make sure that you've checked the boxes below before you submit the PR

  • I have read and followed the setup steps
  • I have created necessary unit tests
  • I have tested the functionality in both React and Angular.

Steps needed to test

  1. Navigate to the input component documentation page
  2. Scroll to the "Focus Treatment Comparison" section at the bottom
  3. Tab through each component and verify that focus styles are visible and consistent
  4. Confirm all components render correctly with version="2" attribute

https://claude.ai/code/session_01NE6uw7FcqDj87sxuwJNCHX

@Spark450 Spark450 force-pushed the claude/add-input-components-docs-JXAuH branch from 7893a1d to f255c79 Compare March 16, 2026 21:03
Adds tabbing comparison section at the bottom of input.mdx with goa-text-area,
goa-dropdown, goa-checkbox, goa-radio-group, goa-date-picker, goa-button (all
variants), goa-icon-button, goa-link-button, goa-filter-chip, and goa-chip.

https://claude.ai/code/session_01NE6uw7FcqDj87sxuwJNCHX
@Spark450 Spark450 force-pushed the claude/add-input-components-docs-JXAuH branch from f255c79 to 38a42c1 Compare March 16, 2026 21:42
@netlify
Copy link

netlify bot commented Mar 16, 2026

Deploy Preview for goa-design-2 ready!

Name Link
🔨 Latest commit c090db9
🔍 Latest deploy log https://app.netlify.com/projects/goa-design-2/deploys/69b8c8ddec9b4800082e7b33
😎 Deploy Preview https://deploy-preview-3593--goa-design-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

claude added 3 commits March 16, 2026 21:51
Adds /focus-test page with all interactive components for tabbing through
and comparing focus styles: text-area, dropdown, checkbox, radio-group,
date-picker, button (primary/secondary/tertiary), icon-button, link-button,
filter-chip, and chip.

Reverts the focus comparison content from input.mdx (was rendering in a
hidden tab rather than as a visible page).

https://claude.ai/code/session_01NE6uw7FcqDj87sxuwJNCHX
Switch from box-shadow focus rings to outline + outline-offset in V2 mode,
matching the offset blue ring already used by Button V2 and Checkbox V2.
RadioItem and DatePicker already used outline-based focus or inherit from Input.

https://claude.ai/code/session_01NE6uw7FcqDj87sxuwJNCHX
@Spark450 Spark450 marked this pull request as draft March 18, 2026 04:13
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.

2 participants