From 3ec793072072773c2d834d99d7e4307629c18058 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 12 Aug 2013 18:09:25 -0700 Subject: add ARIA roles to Dropdown examples in Components docs --- components.html | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'components.html') diff --git a/components.html b/components.html index 39039a448..ceb745688 100644 --- a/components.html +++ b/components.html @@ -20,11 +20,11 @@ base_url: "../"
@@ -32,11 +32,11 @@ base_url: "../" {% endhighlight %} @@ -54,22 +54,22 @@ base_url: "../"
{% highlight html %} {% endhighlight %} @@ -79,17 +79,17 @@ base_url: "../"
{% highlight html %} {% endhighlight %} -- cgit v1.2.3 From b33989a97791560f064e723cfff2ec5b4ac65eba Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 12 Aug 2013 18:59:58 -0700 Subject: add src attribute to holder.js-powered s so that they validate use `data:` URL of empty invalid PNG: src="data:image/png;base64," --- components.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'components.html') diff --git a/components.html b/components.html index ceb745688..d213030bb 100644 --- a/components.html +++ b/components.html @@ -1819,22 +1819,22 @@ body { padding-bottom: 70px; } @@ -1856,7 +1856,7 @@ body { padding-bottom: 70px; }
- +

Thumbnail label

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

@@ -1866,7 +1866,7 @@ body { padding-bottom: 70px; }
- +

Thumbnail label

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

@@ -1876,7 +1876,7 @@ body { padding-bottom: 70px; }
- +

Thumbnail label

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

@@ -2148,7 +2148,7 @@ body { padding-bottom: 70px; }
- Generic placeholder image + Generic placeholder image

Media heading

@@ -2157,14 +2157,14 @@ body { padding-bottom: 70px; }
- Generic placeholder image + Generic placeholder image

Media heading

Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus.
- Generic placeholder image + Generic placeholder image

Media heading

@@ -2192,7 +2192,7 @@ body { padding-bottom: 70px; }
  • - Generic placeholder image + Generic placeholder image

    Media heading

    @@ -2200,7 +2200,7 @@ body { padding-bottom: 70px; }
    - Generic placeholder image + Generic placeholder image

    Nested media heading

    @@ -2208,7 +2208,7 @@ body { padding-bottom: 70px; }
    - Generic placeholder image + Generic placeholder image

    Nested media heading

    @@ -2220,7 +2220,7 @@ body { padding-bottom: 70px; }
    - Generic placeholder image + Generic placeholder image

    Nested media heading

    @@ -2231,7 +2231,7 @@ body { padding-bottom: 70px; }
  • - Generic placeholder image + Generic placeholder image

    Media heading

    -- cgit v1.2.3 From f2cea2dc476806b164687da331128dd5cc5132fb Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 12 Aug 2013 19:29:16 -0700 Subject: add alt text to s in components.html --- components.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'components.html') diff --git a/components.html b/components.html index d213030bb..a63219444 100644 --- a/components.html +++ b/components.html @@ -1856,7 +1856,7 @@ body { padding-bottom: 70px; }
    - + Generic placeholder thumbnail

    Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    @@ -1866,7 +1866,7 @@ body { padding-bottom: 70px; }
    - + Generic placeholder thumbnail

    Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    @@ -1876,7 +1876,7 @@ body { padding-bottom: 70px; }
    - + Generic placeholder thumbnail

    Thumbnail label

    Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.

    @@ -1890,7 +1890,7 @@ body { padding-bottom: 70px; }
    - + ...

    Thumbnail label

    ...

    -- cgit v1.2.3 From f111c3e763b4a3e10efe0da4e41cd5b4847a2b74 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 12 Aug 2013 19:45:13 -0700 Subject: Components docs: Dropdowns section: add .sr-only toggle buttons so aria-labelledby validates --- components.html | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'components.html') diff --git a/components.html b/components.html index a63219444..bbfcf69c6 100644 --- a/components.html +++ b/components.html @@ -19,7 +19,8 @@ base_url: "../"

    Wrap the dropdown's trigger and the dropdown menu within .dropdown, or another element that declares position: relative;. Then add the menu's HTML.

    {% highlight html %} @@ -2486,7 +2512,9 @@ body { padding-bottom: 70px; }
    Panel heading
    -

    Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.

    +
    +

    Some default panel content here. Nulla vitae elit libero, a pharetra augue. Aenean lacinia bibendum nulla sed consectetur. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies vehicula ut id elit.

    +
      @@ -2502,7 +2530,9 @@ body { padding-bottom: 70px; }
      Panel heading
      -

      ...

      +
      +

      ...

      +
        -- cgit v1.2.3 From f15f259876d77004fadf5b5937af5ab6b5eabb8e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 13 Aug 2013 09:59:38 -0700 Subject: derp --- components.html | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'components.html') diff --git a/components.html b/components.html index bbfcf69c6..b619d0db0 100644 --- a/components.html +++ b/components.html @@ -230,11 +230,41 @@ base_url: "../"

        Vertical button groups

        Make a set of buttons appear vertically stacked rather than horizontally.

        -
        +
        +
        + + +
        +
        + + +
        +
        + + +
        {% highlight html %} -- cgit v1.2.3 From 69a3e9b4d07cdaa281525c067f11ea83e1863f1b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 13 Aug 2013 10:24:18 -0700 Subject: enable button groups in vertical button groups --- components.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'components.html') diff --git a/components.html b/components.html index b619d0db0..fe4cf1631 100644 --- a/components.html +++ b/components.html @@ -230,7 +230,7 @@ base_url: "../"

        Vertical button groups

        Make a set of buttons appear vertically stacked rather than horizontally.

        -
        +
        @@ -265,6 +265,16 @@ base_url: "../"
      • Dropdown link
      +
      + + +
    {% highlight html %} -- cgit v1.2.3