Skip to content

Clarify Fieldset warnings and form wrapper property targets - #52

Merged
joshbruce merged 1 commit into
mainfrom
cp-joshbruce-control-guidance-fixes
Oct 15, 2026
Merged

joshbruce merged 1 commit into
mainfrom
cp-joshbruce-control-guidance-fixes

Conversation

@joshbruce

Copy link
Copy Markdown
Member

Add documentation-only guardrails to the form component APIs.

Document on Fieldset::create() that group warning rendering does not wire aria-invalid or aria-describedby onto arbitrary member controls; those associations remain the caller's responsibility. Document each component's wrapperProps() target: the outer div for text, email, password, and textarea controls; the fieldset for Fieldset; and a div or fieldset according to Select mode.

No runtime behavior changes. git --no-pager diff --check passed. Tests were not run because only docblocks changed.

List of issues fixed

Fixes #44

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@joshbruce
joshbruce merged commit 0a1619c into main Oct 15, 2026
2 checks passed
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.

Docblocks: Fieldset warning does not wire member controls; wrapperProps target per class

1 participant