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.