From 244949fb6ae2d8d88eb1fc4d74ca4f1b70312cf1 Mon Sep 17 00:00:00 2001 From: Josh Johnson Date: Fri, 18 Aug 2023 10:49:10 -0400 Subject: [PATCH] docs: improves documentation for invalid selections in radio groups --- packages/radio/README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/radio/README.md b/packages/radio/README.md index 2ca805fb2d5..1ccc3a01d68 100644 --- a/packages/radio/README.md +++ b/packages/radio/README.md @@ -91,6 +91,8 @@ import { Standard radio buttons are the default style for radio buttons. They are optimal for application panels where all visual elements are monochrome in order to direct focus to the content. +Invalid selections in radio groups are identified using the `negative-help-text` slot. Read more about using [help text](#help-text) below. + ```html-live
@@ -107,9 +109,12 @@ Standard radio buttons are the default style for radio buttons. They are optimal

Invalid

- + Kittens Puppies + + This selection is invalid. +
@@ -129,6 +134,8 @@ Standard radio buttons are the default style for radio buttons. They are optimal Emphasized radio buttons are a secondary style for radio buttons. The blue color provides a visual prominence that is optimal for forms, settings, etc. where the radio buttons need to be noticed. +Invalid selections in radio groups are identified using the `negative-help-text` slot. Read more about using [help text](#help-text) below. + ```html-live
@@ -145,9 +152,12 @@ Emphasized radio buttons are a secondary style for radio buttons. The blue color

Invalid

- + Kittens Puppies + + This selection is invalid. +