From b2966a3976c85f68f27210e0d95b2c50560cbb36 Mon Sep 17 00:00:00 2001 From: reinerBa <4329883+reinerBa@users.noreply.github.com> Date: Mon, 24 Jan 2022 14:15:35 +0100 Subject: [PATCH 1/3] Update docs for radio label duplication One is enough --- docs/forms.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/forms.html b/docs/forms.html index 90785f4b..32d6f09b 100644 --- a/docs/forms.html +++ b/docs/forms.html @@ -49,7 +49,6 @@ <input type="radio" id="large" name="size" value="large"> Large </label> - </label> <label for="extralarge"> <input type="radio" id="extralarge" name="size" value="extralarge" disabled> Extra Large @@ -103,4 +102,4 @@ <!-- Color --> <label for="color">Color <input type="color" id="color" name="color" value="#0eaaaa"> -</label> \ No newline at end of file +</label> From 3bcb55aa1fd4ef4add4a96096eeefa6c31068af1 Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Sun, 6 Feb 2022 10:57:26 +0700 Subject: [PATCH 2/3] fix(docs): Remove duplicate label --- docs/forms.html | 2 +- docs/src/forms.html | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/forms.html b/docs/forms.html index 32d6f09b..adbc7753 100644 --- a/docs/forms.html +++ b/docs/forms.html @@ -102,4 +102,4 @@ <!-- Color --> <label for="color">Color <input type="color" id="color" name="color" value="#0eaaaa"> -</label> +</label> \ No newline at end of file diff --git a/docs/src/forms.html b/docs/src/forms.html index 3f7af852..3a499de1 100644 --- a/docs/src/forms.html +++ b/docs/src/forms.html @@ -163,7 +163,6 @@ <input type="radio" id="large" name="size" value="large"> Large </label> - </label> <label for="extralarge"> <input type="radio" id="extralarge" name="size" value="extralarge" disabled> Extra Large From 0eaece2c646b9fa59946844da60f9db7a25a47e2 Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Sun, 6 Feb 2022 10:59:18 +0700 Subject: [PATCH 3/3] content(docs): Change disabled switch copy --- docs/forms.html | 4 ++-- docs/src/forms.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/forms.html b/docs/forms.html index adbc7753..e866a3cc 100644 --- a/docs/forms.html +++ b/docs/forms.html @@ -27,7 +27,7 @@ </form>

Disabled and validation states:

<input type="text" placeholder="Valid" aria-invalid="false">
 <input type="text" placeholder="Invalid" aria-invalid="true">
 <input type="text" placeholder="Disabled" disabled>
-<input type="text" value="Readonly" readonly>

<fieldset> is unstyled and acts as a container for radios and checkboxes, providing a consistent margin-bottom for the set.

role="switch" on a type="checkbox" enable a custom switch.

Size
<!-- Select -->
+<input type="text" value="Readonly" readonly>

<fieldset> is unstyled and acts as a container for radios and checkboxes, providing a consistent margin-bottom for the set.

role="switch" on a type="checkbox" enable a custom switch.

Size
<!-- Select -->
 <label for="fruit">Fruit</label>
 <select id="fruit" required>
   <option value="" selected>Select a fruit…</option>
@@ -75,7 +75,7 @@
   </label>
   <label for="switch_disabled">
     <input type="checkbox" id="switch_disabled" name="switch_disabled" role="switch_disabled" disabled checked>
-    Publish on my profile my accomplishments
+    User must change password at next logon
   </label>
 </fieldset>

You can change a checkbox to an indeterminate state by setting the indeterminate property to true