+ Modern versions of assistive technology, like screen readers, will read CSS generated content (how Font Awesome icons are rendered), as well as specific Unicode characters. When trying our default markup for rendering icons, assisistive technology may have the following problems.
+
+
+
+
+ The assistive technology may not find any content to read out to a user
+
+
+ The assistive technolog may read the unicode equivalent which could not match up to what the icon means in context or worse is just plain confusing
+
+
+
diff --git a/src/_includes/accessibility/other.html b/src/_includes/accessibility/other.html
new file mode 100644
index 000000000..e6261d8f5
--- /dev/null
+++ b/src/_includes/accessibility/other.html
@@ -0,0 +1,16 @@
+
+
Other cases and information
+
+ While the scenarios and techniques above help avoid some serious issues and confusion, they are not exhaustive. There are many complex contexts and use cases when it comes to accessibility, such as users with low quality vision using high contrast mode to better see UI. There are some great tools and resources to learning and work on these out there. Here are a few reads we recommend.
+
+ We'll continue to work on these under the larger topic of accessibility, but in the meantime, let us know if any bugs or issues.
+
+
diff --git a/src/_includes/accessibility/using-with-accessibility.html b/src/_includes/accessibility/using-with-accessibility.html
new file mode 100644
index 000000000..7b2661eed
--- /dev/null
+++ b/src/_includes/accessibility/using-with-accessibility.html
@@ -0,0 +1,130 @@
+
+
Using Font Awesome with Acessibility in mind
+
+ When using icons in your UI, there are ways to help assistive technology either ignore or better understand Font Awesome.
+
+
+
Icons used for pure decoration or visual styling
+
+ If you're using an icon to add some extra decoration or branding, it does not need to be announced to users as they are navigating your site or app aurally. Additionally, if you're using an icon to visually re-emphasize or add styling to content already present in your HTML, it does not need to be repeated to an assistive technology-using user. You can make sure this is not read by adding the aria-hidden="true" to your Font Awesome markup.
+
+
+
+{% highlight html %}
+
+{% endhighlight %}
+an icon being used as pure decoration
+
+
+
+{% highlight html %}
+
+
+ Pied Piper, A Middle-Out Compression Solution Making Data Storage Problems Smaller
+
+{% endhighlight %}
+an icon being used as a logo
+
+ If you're using an icon to convey meaning (rather than only as a decorative element), ensure that this meaning is also conveyed to assistive technologies. This goes for content you're abbreviating via icons as well as interactive controls (buttons, form elements, toggles, etc.). There are a few techniques to accomplish this:
+
+
+
If an icon is not an interactive element
+
+ If not representing an interactive element, like a button or link, use both a title attribute and an on the icon to provide a text alternative. This has the advantages of working with all modern screen readers, working well with the most ubiquitous speech recognition program, and helping users with cognitive disabilities by providing a mouse tooltip.
+
+
+
+{% highlight html %}
+
+
+
+ Time to destination by car:
+
+
4 minutes
+
+
+
+ Time to destination by bike:
+
+
12 minutes
+
+{% endhighlight %}
+ an icon being used to communicate travel methods
+
+
+
+{% highlight html %}
+
+60 minutes remains in your exam
+
+
+30 minutes remains in your exam
+
+
+0 minutes remains in your exam
+{% endhighlight %}
+ an icon being used to denote time remaining
+
+
+
If an icon represents an interactive element
+
+ In addition to the recommendations above, use a title attribute which makes the accessible text discoverable by mouse and those with cognitive disabilities.
+
+{% highlight html %}
+
+
+ Skip to main navigation
+
+{% endhighlight %}
+ an icon being used as a link to a navigation menu
+
+{% highlight html %}
+
+
+ Delete
+
+{% endhighlight %}
+ an icon being used as a delete button's symbol
+
+
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..e73f41c35 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
new file mode 100644
index 000000000..cca638e56
--- /dev/null
+++ b/src/_includes/examples/accessible.html
@@ -0,0 +1,109 @@
+
+
+ With our thoughts on icon accessibility in mind, If an icon only adds some extra decoration or branding, it does not need to be announced to users as they are navigating your site or app aurally. Alternatively, if an icon conveys meaning in your content or interface, ensure that this meaning is also conveyed to assistive technologies through alternative displays or text.
+
+ Loading example (with fa-spinner icon)
+
+ Loading (with fa-circle-o-notch icon)
+
+ Loading example (with fa-refresh icon)
+
+ Loading example (with fa-cog icon)
+
+ Loading example (with fa-spinner icon)
@@ -22,20 +31,29 @@
with 8 steps. Works well with fa-spinner, fa-refresh, and fa-cog.
{% highlight html %}
-
-
-
-
-
+
+Loading...
+
+
+Loading...
+
+
+Loading...
+
+
+Loading...
+
+
+Loading...
{% 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.
@@ -20,12 +22,13 @@
brevity, but using a <span> is more semantically correct).
{% highlight html %}
- fa-camera-retro
+ fa-camera-retro
{% endhighlight %}
-
+
+ Example: basic icon
If you change the font-size of the icon's container, the icon gets bigger. Same things goes for color,
drop shadow, and anything else that gets inherited using CSS.
-
+
…tomorrow we will run faster, stretch out our arms farther… And then one fine morning—
So we beat on, boats against the current, borne back ceaselessly into the past.
@@ -20,7 +20,7 @@
article icons.
{% highlight html %}
-
+
...tomorrow we will run faster, stretch out our arms farther...
And then one fine morning— So we beat on, boats against the
current, borne back ceaselessly into the past.
diff --git a/src/_includes/examples/fixed-width.html b/src/_includes/examples/fixed-width.html
index 87e72db82..845a79609 100644
--- a/src/_includes/examples/fixed-width.html
+++ b/src/_includes/examples/fixed-width.html
@@ -9,10 +9,10 @@
- Thanks to MaxCDN for providing the excellent
+ Thanks to MaxCDN for providing the excellent
BootstrapCDN, the fastest and easiest way to
get started with Font Awesome.
-
+
+ Example of {{ page.icon.id }} at 6x
-
-
-
-
+
+ Example of {{ page.icon.id }} at 5x
+
+
+
+ Example of {{ page.icon.id }} at 4x
+
+
+
+ Example of {{ page.icon.id }} at 3x
+
+
+ Example of {{ page.icon.id }} at 2x
+
-
+
+ Example of {{ page.icon.id }}
diff --git a/src/accessibility.html b/src/accessibility.html
new file mode 100644
index 000000000..4f6483c12
--- /dev/null
+++ b/src/accessibility.html
@@ -0,0 +1,28 @@
+---
+layout: base
+title: Font Awesome & Accessibility
+navbar_active: accessibility
+relative_path: ../
+---
+{% capture jumbotron_h1 %} Accessibility{% endcapture %}
+{% capture jumbotron_p %}How to make your icons awesome for all of your users{% endcapture %}
+
+{% include jumbotron.html %}
+{% include stripe-social.html %}
+
+
+ {% capture stripe_ad_content %}
+
+ Icons are symbols that can convey a ton of information and really help people comprehend directions, signs, and interfaces. Its important that we create and use them so that they can reach the largest amount of people possible.
+
+
+
+ When creating web sites and apps, that means making sure our icons play well with assistive tech when users are navigating apps and sites.
+
+ {% endcapture %}
+ {% include stripe-ad.html %}
+
+ {% include accessibility/background.html %}
+ {% include accessibility/using-with-accessibility.html %}
+ {% include accessibility/other.html %}
+
diff --git a/src/cheatsheet.html b/src/cheatsheet.html
index 1dd202ca0..783724bd9 100644
--- a/src/cheatsheet.html
+++ b/src/cheatsheet.html
@@ -3,7 +3,7 @@ layout: base
title: Font Awesome Cheatsheet
relative_path: ../
---
-{% capture jumbotron_h1 %} Cheatsheet{% endcapture %}
+{% capture jumbotron_h1 %} Cheatsheet{% endcapture %}
{% capture jumbotron_p %}The complete Font Awesome {{ site.fontawesome.version }} icon reference{% endcapture %}
{% include jumbotron.html %}
@@ -25,7 +25,7 @@ relative_path: ../
{% for icon in sorted_icons %}
{% if icon.created >= site.fontawesome.major_version %}{{ icon.created }}{% endif %}
- {{ icon.unicode }}
+ Copy to use {{ icon.class }}{{ icon.unicode }}
fa-{{ icon.class }}
{% if icon.alias_of %} (alias){% endif %}
[&#x{{ icon.unicode }};]
diff --git a/src/community.html b/src/community.html
index 371f18ccf..be6877b97 100644
--- a/src/community.html
+++ b/src/community.html
@@ -4,7 +4,7 @@ title: The Font Awesome Community
navbar_active: community
relative_path: ../
---
-{% capture jumbotron_h1 %} Community{% endcapture %}
+{% capture jumbotron_h1 %} Community{% endcapture %}
{% capture jumbotron_p %}Lots of ways to get involved with Font Awesome{% endcapture %}
{% include jumbotron.html %}
diff --git a/src/examples.html b/src/examples.html
index 99706dceb..3e23ac147 100644
--- a/src/examples.html
+++ b/src/examples.html
@@ -4,7 +4,7 @@ title: Font Awesome Examples
navbar_active: examples
relative_path: ../
---
-{% capture jumbotron_h1 %} Examples{% endcapture %}
+{% capture jumbotron_h1 %} Examples{% endcapture %}
{% capture jumbotron_p %}Lots of easy ways to use Font Awesome{% endcapture %}
{% include jumbotron.html %}
@@ -26,6 +26,7 @@ relative_path: ../
{% include examples/list.html %}
{% include examples/bordered-pulled.html %}
{% include examples/animated.html %}
+ {% include examples/accessible.html %}
{% include examples/rotated-flipped.html %}
{% include examples/stacked.html %}
{% include examples/bootstrap.html %}
diff --git a/src/get-started.html b/src/get-started.html
index 22e11e109..6ca5d082b 100644
--- a/src/get-started.html
+++ b/src/get-started.html
@@ -4,7 +4,7 @@ title: Get Started with Font Awesome
navbar_active: get-started
relative_path: ../
---
-{% capture jumbotron_h1 %} Get Started{% endcapture %}
+{% capture jumbotron_h1 %} Get Started{% endcapture %}
{% capture jumbotron_p %}Easy ways to get Font Awesome {{ site.fontawesome.version }} onto your website{% endcapture %}
{% include jumbotron.html %}
@@ -29,7 +29,7 @@ relative_path: ../
{% highlight html %}
{% endhighlight %}
-
Immediately after release, it takes a bit of time for BootstrapCDN to catch up and get the newest version live on their CDN.
+
Immediately after release, it takes a bit of time for BootstrapCDN to catch up and get the newest version live on their CDN.
Pat yourself on the back for your scalable-vector-icons-on-the-website
@@ -135,7 +135,7 @@ $ gem install font-awesome-sass
{% highlight scss %}
@fa-font-path: "../font";
{% endhighlight %}
-
The font path is relative from your compiled CSS directory.
+
The font path is relative from your compiled CSS directory.
Re-compile your LESS or SASS if using a static compiler. Otherwise, you should be good to go.
Check out the examples to start using Font Awesome!
diff --git a/src/icons.html b/src/icons.html
index d91963096..b5f9d42f3 100644
--- a/src/icons.html
+++ b/src/icons.html
@@ -4,7 +4,7 @@ title: Font Awesome Icons
navbar_active: icons
relative_path: ../
---
-{% capture jumbotron_h1 %} The Icons{% endcapture %}
+{% capture jumbotron_h1 %} The Icons{% endcapture %}
{% capture jumbotron_p %}The complete set of {{ icons | size }} icons in Font Awesome {{ site.fontawesome.version }}{% endcapture %}
{% include jumbotron.html %}
@@ -24,14 +24,14 @@ relative_path: ../