docs: consolidate Field.Label callout to field docs only#3826
Open
docs: consolidate Field.Label callout to field docs only#3826
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…with Checkbox and Switch Co-authored-by: anubra266 <30869823+anubra266@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix aria-labelledby reference in Checkbox and Switch components
docs: document that Field.Label is required for accessible labelling with Checkbox and Switch
Mar 19, 2026
Co-authored-by: anubra266 <30869823+anubra266@users.noreply.github.com>
Copilot
AI
changed the title
docs: document that Field.Label is required for accessible labelling with Checkbox and Switch
docs: document Field.Label requirement for Checkbox/Switch inside Field
Mar 19, 2026
…rding Co-authored-by: anubra266 <30869823+anubra266@users.noreply.github.com>
Copilot
AI
changed the title
docs: document Field.Label requirement for Checkbox/Switch inside Field
docs: fix Field label guidance for Checkbox/Switch
Mar 19, 2026
Co-authored-by: anubra266 <30869823+anubra266@users.noreply.github.com>
Copilot
AI
changed the title
docs: fix Field label guidance for Checkbox/Switch
docs: replace sr-only/visually-hidden with framework-agnostic wording
Mar 19, 2026
Co-authored-by: anubra266 <30869823+anubra266@users.noreply.github.com> Agent-Logs-Url: https://github.com/chakra-ui/ark/sessions/863e8b0c-9f0c-4e59-88fc-d6865ae61fa3
Copilot
AI
changed the title
docs: replace sr-only/visually-hidden with framework-agnostic wording
docs: consolidate Field.Label callout to field docs only
Mar 20, 2026
Member
|
This can be misleading since the user can also render the We need to adjust the docs to mostly emphasize that its important to always label form elements you either
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
Field.Label/aria-labelledbyaccessibility guidance was duplicated acrossfield.mdx,checkbox.mdx, andswitch.mdx, and was originally scoped under the Checkbox section in the Field docs despite applying to all form controls.field.mdxso it applies to all inputscheckbox.mdxandswitch.mdx— the Field doc is the single source of truth for Field-level behaviorOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.