diff --git a/src/_includes/accessibility/accessibility-facdn.html b/src/_includes/accessibility/accessibility-facdn.html new file mode 100644 index 000000000..624e0fcec --- /dev/null +++ b/src/_includes/accessibility/accessibility-facdn.html @@ -0,0 +1,21 @@ +
+
+
+

+ + Use Font Awesome CDN's auto accessibility +

+ +

Font Awesome CDN helps you automate accessibility support more easily so your icons work for the most people possible. You only need turn on a setting, use our simple syntax, and any icons you use will have all of the best practices and manual techniques below applied automatically.

+
+ + +
+ +
diff --git a/src/_includes/accessibility/using-with-accessibility.html b/src/_includes/accessibility/accessibility-manual.html similarity index 73% rename from src/_includes/accessibility/using-with-accessibility.html rename to src/_includes/accessibility/accessibility-manual.html index 105722c2f..2389783ef 100644 --- a/src/_includes/accessibility/using-with-accessibility.html +++ b/src/_includes/accessibility/accessibility-manual.html @@ -1,13 +1,14 @@ -
- -

- 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. -

+

+ + Manually make your icons accessible +

+ +

When using icons in your UI, there are manual techniques and 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 %} @@ -33,12 +34,12 @@ an icon being used in front of link text
-

Icons with semantic or interactive purpose

+

Icons with semantic or interactive purpose

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 an icon is not an interactive element

The simplest way to provide a text alternative is to use the aria-hidden="true" attribute on the icon and to include the text with an additional element, such as a <span>, with appropriate CSS to visually hide the element while keeping it accessible to assistive technologies. In addition, you can add a title attribute on the icon to provide a tooltip for sighted mouse users.

@@ -76,7 +77,7 @@ an icon being used to denote time remaining
-

If an icon represents an interactive element

+

If an icon represents an interactive element

In the case of focusable interactive elements, there are various options to include an alternative text or label to the element, without the need for any visually hidden <span> or similar. For instance, simply adding the title attribute to the interactive element itself will be sufficient to provide an accessible alternative name for the element, as well as providing the mouse tooltip.

@@ -106,13 +107,14 @@ an icon being used as a delete button's symbol - -
- -
+ +
+ +
+ diff --git a/src/_includes/accessibility/background.html b/src/_includes/accessibility/background.html index 5ca864826..da97e4762 100644 --- a/src/_includes/accessibility/background.html +++ b/src/_includes/accessibility/background.html @@ -1,7 +1,7 @@ -
- +
+

About Icon Fonts & Accessibility

- 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. + 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 reading our default markup for rendering icons, assisistive technology may have the following problems.