Skip to content

v6: docs - Fix wording in radio and switch docs#42372

Merged
julien-deramond merged 2 commits into
twbs:v6-devfrom
coliff:dev/coliff/radio-switch-docs-fix
Apr 30, 2026
Merged

v6: docs - Fix wording in radio and switch docs#42372
julien-deramond merged 2 commits into
twbs:v6-devfrom
coliff:dev/coliff/radio-switch-docs-fix

Conversation

@coliff
Copy link
Copy Markdown
Contributor

@coliff coliff commented Apr 30, 2026

Correct minor copy and terminology errors in form component documentation. radio.mdx: fix grammar ('as we use pure CSS' instead of 'as we pure CSS') and clarify 'checked radios' instead of 'checked checkboxes'. switch.mdx: clarify wording to describe switches rather than checkboxes for the .checked-{color} class.

Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (non-breaking change)
  • Breaking change (fix or feature that would change existing functionality)

Checklist

  • I have read the contributing guidelines
  • My code follows the code style of the project (using npm run lint)
  • My change introduces changes to the documentation
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • All new and existing tests passed

Live previews

Related issues

Correct minor copy and terminology errors in form component documentation. radio.mdx: fix grammar ('as we use pure CSS' instead of 'as we pure CSS') and clarify 'checked radios' instead of 'checked checkboxes'. switch.mdx: clarify wording to describe switches rather than checkboxes for the `.checked-{color}` class.
Copilot AI review requested due to automatic review settings April 30, 2026 00:38
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Improves form component documentation copy by correcting minor grammar and component terminology in radio and switch guides.

Changes:

  • Fixes grammar in the radio documentation describing CSS-only styling.
  • Replaces incorrect “checked checkboxes” terminology with “checked radios” / “switches” where applicable.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
site/src/content/docs/forms/switch.mdx Updates theme-color section wording to refer to switches rather than checkboxes.
site/src/content/docs/forms/radio.mdx Fixes grammar and corrects “checked checkboxes” to “checked radios” in theme-color docs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread site/src/content/docs/forms/switch.mdx Outdated
Copy link
Copy Markdown
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @coliff 🙏
Good catch! Spotted also 0f76545 while reviewing.

@julien-deramond julien-deramond merged commit 09a82c6 into twbs:v6-dev Apr 30, 2026
12 checks passed
@coliff coliff deleted the dev/coliff/radio-switch-docs-fix branch April 30, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

3 participants