From 9675ee9a6355ee0f56deed4288c870dcf2860852 Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Fri, 1 Apr 2016 20:28:42 -0400 Subject: [PATCH] WIP - updating site icons with accessibility best practices --- src/_includes/brand-adblock-warning.html | 2 +- .../community/requesting-new-icons.html | 2 +- src/_includes/examples/accessible.html | 35 +++++--- src/_includes/examples/animated.html | 18 ++-- src/_includes/examples/basic.html | 6 +- src/_includes/examples/bootstrap.html | 82 +++++++++++++------ src/_includes/examples/bordered-pulled.html | 2 +- src/_includes/examples/fixed-width.html | 8 +- src/_includes/examples/larger.html | 10 +-- src/_includes/examples/list.html | 16 ++-- src/_includes/examples/rotated-flipped.html | 12 +-- src/_includes/examples/stacked.html | 8 +- src/_includes/footer.html | 2 +- src/_includes/icons/brand.html | 2 +- src/_includes/icons/chart.html | 2 +- src/_includes/icons/currency.html | 2 +- src/_includes/icons/directional.html | 2 +- src/_includes/icons/file-type.html | 2 +- src/_includes/icons/form-control.html | 2 +- src/_includes/icons/gender.html | 2 +- src/_includes/icons/hand.html | 2 +- src/_includes/icons/medical.html | 2 +- src/_includes/icons/new.html | 2 +- src/_includes/icons/payment.html | 2 +- src/_includes/icons/spinner.html | 5 +- src/_includes/icons/text-editor.html | 2 +- src/_includes/icons/transportation.html | 2 +- src/_includes/icons/video-player.html | 2 +- src/_includes/icons/web-application.html | 2 +- src/_includes/jumbotron-carousel.html | 36 ++++---- src/_includes/modals/download.html | 4 +- src/_includes/navbar.html | 44 +++++----- src/_includes/new-features.html | 12 +-- src/_includes/new-naming.html | 50 +++++------ src/_includes/stripe-social.html | 2 +- src/_includes/tell-me-thanks.html | 2 +- .../tests/rotated-flipped-inside-anchor.html | 12 +-- .../tests/rotated-flipped-inside-btn.html | 12 +-- src/_includes/tests/rotated-flipped.html | 12 +-- .../tests/stacked-inside-anchor.html | 20 ++--- src/_includes/tests/stacked-with-text.html | 2 +- src/_includes/tests/stacked.html | 20 ++--- src/_includes/thanks-to.html | 2 +- src/_includes/why.html | 18 ++-- 44 files changed, 268 insertions(+), 218 deletions(-) diff --git a/src/_includes/brand-adblock-warning.html b/src/_includes/brand-adblock-warning.html index eb6ee670f..b512cbbb1 100644 --- a/src/_includes/brand-adblock-warning.html +++ b/src/_includes/brand-adblock-warning.html @@ -1,4 +1,4 @@ -

Warning!

+

Warning!

Apparently, Adblock Plus can remove Font Awesome brand icons with their "Remove Social Media Buttons" setting. We will not use hacks to force them to display. Please report an issue with Adblock Plus if you believe this to be diff --git a/src/_includes/community/requesting-new-icons.html b/src/_includes/community/requesting-new-icons.html index e342f2868..2d8433488 100644 --- a/src/_includes/community/requesting-new-icons.html +++ b/src/_includes/community/requesting-new-icons.html @@ -23,7 +23,7 @@
  • - Request concrete objects: it's harder to make an icon to represent happiness, it's easier to make a smiley face. + Request concrete objects: it's harder to make an icon to represent happiness, it's easier to make a smiley face.
  • diff --git a/src/_includes/examples/accessible.html b/src/_includes/examples/accessible.html index 588469e7d..528078eb6 100644 --- a/src/_includes/examples/accessible.html +++ b/src/_includes/examples/accessible.html @@ -6,21 +6,27 @@

    - + + Settings - + + Delete - + + Skip to main navigation

    - - + + Reloading… + + + Saving. Hang tight!

    @@ -42,7 +48,8 @@

    - Battery Remaining: 50%; + + Battery Remaining: 50%;

    @@ -52,21 +59,27 @@ {% highlight html %} - + + Settings - + + Delete - + + Skip to main navigation {% endhighlight %} {% highlight html %} - - + +Reloading… + + +Saving. Hang tight! {% endhighlight %} {% highlight html %} diff --git a/src/_includes/examples/animated.html b/src/_includes/examples/animated.html index a5f61ca5c..698211b6b 100644 --- a/src/_includes/examples/animated.html +++ b/src/_includes/examples/animated.html @@ -9,11 +9,11 @@

    - - - - - + + + + +

    @@ -29,13 +29,13 @@ {% endhighlight %}

    - - Some browsers on some platforms have issues with animated icons resulting in a jittery wobbling effect. See - issue #671 + Note: + Some browsers on some platforms have issues with animated icons resulting in a jittery wobbling effect. See + issue #671 for examples and possible workarounds.

    - CSS3 animations aren't supported in IE8 - IE9. + Note: CSS3 animations aren't supported in IE8 - IE9.

    diff --git a/src/_includes/examples/basic.html b/src/_includes/examples/basic.html index d672ffd57..4a877cfca 100644 --- a/src/_includes/examples/basic.html +++ b/src/_includes/examples/basic.html @@ -10,7 +10,8 @@

    - fa-camera-retro + + Example: basic icon

    @@ -25,7 +26,8 @@
    diff --git a/src/_includes/icons/web-application.html b/src/_includes/icons/web-application.html index f71ec17a6..6e737e6cd 100644 --- a/src/_includes/icons/web-application.html +++ b/src/_includes/icons/web-application.html @@ -5,7 +5,7 @@ {% assign icons_web_application = icons | expand_aliases | category:"Web Application Icons" | sort_by:'class' %} {% for icon in icons_web_application %} - + {% endfor %}
    diff --git a/src/_includes/jumbotron-carousel.html b/src/_includes/jumbotron-carousel.html index 6767780b3..8d0dbf388 100644 --- a/src/_includes/jumbotron-carousel.html +++ b/src/_includes/jumbotron-carousel.html @@ -7,7 +7,7 @@ @@ -24,27 +24,31 @@
    diff --git a/src/_includes/modals/download.html b/src/_includes/modals/download.html index 0b8c77958..a7105e69b 100644 --- a/src/_includes/modals/download.html +++ b/src/_includes/modals/download.html @@ -3,9 +3,9 @@