diff --git a/.agents/skills/generate-frontend-forms/SKILL.md b/.agents/skills/generate-frontend-forms/SKILL.md index 5fc77de1654f83..b4cd7ef79d84f3 100644 --- a/.agents/skills/generate-frontend-forms/SKILL.md +++ b/.agents/skills/generate-frontend-forms/SKILL.md @@ -223,9 +223,9 @@ All fields are accessed via the `field` render prop and follow consistent patter ### Radio Field -Radio fields use a composable API with `Radio.Group` and `Radio.Item`. `Radio.Group` renders a `
` and provides group context, so the layout's label automatically renders as a `` for proper accessibility semantics. +Radio fields use a composable API with `Radio.Group` and `Radio.Item`. `Radio.Group` provides group context that changes how the label is rendered for proper accessibility semantics. -> **Important**: The layout (and its label) **must** be rendered _inside_ `Radio.Group`. The group context that makes the label render as a `` is provided by `Radio.Group`, so placing the layout outside will result in a plain `