From 10199792cd58735b23e855cb924128469b73d9e4 Mon Sep 17 00:00:00 2001 From: Jacob Wilson <49299083+jdwjdwjdw@users.noreply.github.com> Date: Wed, 29 May 2024 10:57:57 -0700 Subject: [PATCH] AIS-64 | @jdwjdwjdw | A11y and console fixups (#153) Co-authored-by: Shea McKinney --- content/examples/alerts.mdx | 12 +- content/examples/cards.mdx | 100 +++++------ content/examples/containers.mdx | 6 +- content/examples/form-elements.mdx | 224 ++++++++++++++---------- content/examples/grid-css-grid.mdx | 20 +-- content/examples/heros.mdx | 14 +- content/examples/identity-bar.mdx | 4 +- content/examples/layout.mdx | 8 +- content/examples/logo.mdx | 14 +- content/examples/modular-typography.mdx | 16 +- 10 files changed, 229 insertions(+), 189 deletions(-) diff --git a/content/examples/alerts.mdx b/content/examples/alerts.mdx index f06e616..80d264b 100644 --- a/content/examples/alerts.mdx +++ b/content/examples/alerts.mdx @@ -40,7 +40,7 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z width="20" className="ml-02em"> + clipRule="evenodd"> @@ -48,7 +48,7 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z @@ -72,7 +72,7 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z class="button group leading-display bg-transparent hocus:bg-transparent p-0 flex items-center w-fit sans font-semibold text-white hocus:text-white text-17 uppercase font-bold inline-block tracking-widest mr-0 ml-auto" type="button">DismissInformation @@ -122,7 +122,7 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z @@ -137,4 +137,4 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z - \ No newline at end of file + diff --git a/content/examples/cards.mdx b/content/examples/cards.mdx index fc1d27f..1786155 100644 --- a/content/examples/cards.mdx +++ b/content/examples/cards.mdx @@ -6,38 +6,38 @@ lastUpdatedDate: 2023-05-25T12:00:00.000Z
```html -
-
- +
+
+
-
-
-
-
@@ -80,34 +80,34 @@ lastUpdatedDate: 2023-05-25T12:00:00.000Z
```html -
-
```html -
-
diff --git a/content/examples/containers.mdx b/content/examples/containers.mdx index c44edf1..ef53ef2 100644 --- a/content/examples/containers.mdx +++ b/content/examples/containers.mdx @@ -5,7 +5,7 @@ lastUpdatedDate: 2023-04-28T12:00:00.000Z
```html -
+
This is a container example
``` @@ -14,7 +14,7 @@ lastUpdatedDate: 2023-04-28T12:00:00.000Z
```html -
+
This is a container example
``` @@ -23,7 +23,7 @@ lastUpdatedDate: 2023-04-28T12:00:00.000Z
```html -
+
This is a container example
``` diff --git a/content/examples/form-elements.mdx b/content/examples/form-elements.mdx index 0a8a243..fd63beb 100644 --- a/content/examples/form-elements.mdx +++ b/content/examples/form-elements.mdx @@ -6,7 +6,7 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z
```html
- Label + Label ...
``` @@ -19,9 +19,11 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z
Text Input ```html - + + ```

+

@@ -29,9 +31,11 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z
Password ```html - + + ```

+

@@ -39,9 +43,11 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z
Web Address ```html - + + ```

+

@@ -49,19 +55,23 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z
Email Address ```html - + + ```

- + +

Phone Number ```html - + + ```

+

@@ -69,9 +79,11 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z
Search ```html - + + ```

+

@@ -79,30 +91,36 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z
Number Input ```html - + + ```

- + +

Error ```html - + + ```

- + +

Valid ```html - + + ```

- + +

@@ -111,7 +129,8 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z
Select ```html - @@ -120,6 +139,7 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z ```

+ - + + + +

  • + + +
  • +
  • + + +
  • +
  • + + +
  • + + ``` +
      +
    • + +
    • - +
    • - +
    • - +
    - ``` -

    -

      -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    • - - -
    • -
    -

    @@ -181,42 +199,40 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z ```html + ``` + - ``` -

    -

    -

    ```html - + ```

    @@ -228,80 +244,96 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z

    Color input ```html - + + ```

    - + +

    Number input ```html - + + ```

    - + +

    Range input ```html - + + ```

    - + +

    Date input ```html - + + ```

    - + +

    Month input ```html - + + ```

    - + +

    Week input ```html - + + ```

    - + +

    Datetime input ```html - + + ```

    - + +

    Datetime-local input ```html - + + ```

    - + +

    @@ -310,25 +342,33 @@ lastUpdatedDate: 2023-05-02T12:00:00.000Z
    Action buttons ```html - - - - - - - - + + + + + + + + + + + + ```

    - - - - + + + + + + + + - +

    diff --git a/content/examples/grid-css-grid.mdx b/content/examples/grid-css-grid.mdx index 0c20f67..eee0edb 100644 --- a/content/examples/grid-css-grid.mdx +++ b/content/examples/grid-css-grid.mdx @@ -35,30 +35,30 @@ lastUpdatedDate: 2023-05-25T12:00:00.000Z
    ``` -
    -
    -
    +
    +
    +
    1
    -
    +
    2
    -
    +
    3
    -
    +
    4
    -
    +
    5
    -
    +
    6
    -
    +
    7
    -
    +
    8
    diff --git a/content/examples/heros.mdx b/content/examples/heros.mdx index c86b7f2..eb0e271 100644 --- a/content/examples/heros.mdx +++ b/content/examples/heros.mdx @@ -9,7 +9,7 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z
    @@ -34,7 +34,7 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z
    @@ -62,7 +62,7 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z ```html
    - +
    @@ -72,7 +72,7 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z Learn more about Decanter -
    - +
    diff --git a/content/examples/identity-bar.mdx b/content/examples/identity-bar.mdx index 5af7d5e..6696293 100644 --- a/content/examples/identity-bar.mdx +++ b/content/examples/identity-bar.mdx @@ -50,8 +50,8 @@ lastUpdatedDate: 2022-04-06T12:00:00.000Z
    ```
    - diff --git a/content/examples/layout.mdx b/content/examples/layout.mdx index 8de9e1f..1279546 100644 --- a/content/examples/layout.mdx +++ b/content/examples/layout.mdx @@ -9,11 +9,11 @@ lastUpdatedDate: 2022-05-17T12:00:00.000Z
    ```html -
    -
    Header
    +
    +
    Header
    -
    Main Content
    -
    Footer
    +
    Main Content
    +
    Footer
    ```
    diff --git a/content/examples/logo.mdx b/content/examples/logo.mdx index 403abd9..d4da5ca 100644 --- a/content/examples/logo.mdx +++ b/content/examples/logo.mdx @@ -4,15 +4,15 @@ lastUpdatedDate: 2023-05-01T12:00:00.000Z ---
    ```html -
    Stanford
    + ```
    Stanford
    ```html -
    - + @@ -25,8 +25,8 @@ lastUpdatedDate: 2023-05-01T12:00:00.000Z
    ```html -
    - + @@ -40,8 +40,8 @@ lastUpdatedDate: 2023-05-01T12:00:00.000Z
    ```html -
    - Stanford + ``` diff --git a/content/examples/modular-typography.mdx b/content/examples/modular-typography.mdx index 1526ca2..609cb72 100644 --- a/content/examples/modular-typography.mdx +++ b/content/examples/modular-typography.mdx @@ -4,7 +4,7 @@ lastUpdatedDate: 2023-05-15T12:00:00.000Z ---
    ```html -
    +

    Heading 1

    Heading 2

    Heading 3

    @@ -27,7 +27,7 @@ lastUpdatedDate: 2023-05-15T12:00:00.000Z
    ```html -
    +

    Heading 1

    Heading 2

    Heading 3

    @@ -50,7 +50,7 @@ lastUpdatedDate: 2023-05-15T12:00:00.000Z
    ```html -
    +

    Heading 1

    Heading 2

    Heading 3

    @@ -73,7 +73,7 @@ lastUpdatedDate: 2023-05-15T12:00:00.000Z
    ```html -
    +

    Heading 1

    Heading 2

    Heading 3

    @@ -97,8 +97,8 @@ lastUpdatedDate: 2023-05-15T12:00:00.000Z
    ```html -
    -
    +
    +

    Heading 1

    Heading 2

    Heading 3

    @@ -126,8 +126,8 @@ lastUpdatedDate: 2023-05-15T12:00:00.000Z
    ```html -
    -
    +
    +

    Heading 1

    Heading 2

    Heading 3