Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
docs(ngAria): correct wording and add resource
Browse files Browse the repository at this point in the history
  • Loading branch information
cironunes authored and btford committed Oct 9, 2014
1 parent b0307a3 commit a3f44ed
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions docs/content/guide/accessibility.ngdoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ navigation easier.

Accessibility best practices that apply to web apps in general also apply to Angular.

* [A11Y Project](http://a11yproject.com/)
* [WebAim](http://webaim.org/)
* [Using WAI-ARIA in HTML](http://www.w3.org/TR/2014/WD-aria-in-html-20140626/)
* [Apps For All: Coding Accessible Web Applications](https://shop.smashingmagazine.com/apps-for-all-coding-accessible-web-applications.html)
22 changes: 11 additions & 11 deletions src/ngAria/aria.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
* @name ngAria
* @description
*
* The `ngAria` module provides support for adding aria tags that convey state or semantic information
* about the application in order to allow assistive technologies to convey appropriate information to
* persons with disabilities.
* The `ngAria` module provides support for adding <abbr title="Accessible Rich Internet Applications">ARIA</abbr>
* attributes that convey state or semantic information about the application in order to allow assistive technologies
* to convey appropriate information to persons with disabilities.
*
* <div doc-module-components="ngAria"></div>
*
* # Usage
* To enable the addition of the aria tags, just require the module into your application and the tags will
* To enable the addition of the ARIA tags, just require the module into your application and the tags will
* hook into your ng-show/ng-hide, input, textarea, button, select and ng-required directives and adds the
* appropriate aria-tags.
* appropriate ARIA attributes.
*
* Currently, the following aria tags are implemented:
* Currently, the following ARIA attributes are implemented:
*
* + aria-hidden
* + aria-checked
Expand All @@ -29,7 +29,7 @@
* + aria-valuemax
* + tabindex
*
* You can disable individual aria tags by using the {@link ngAria.$ariaProvider#config config} method.
* You can disable individual ARIA attributes by using the {@link ngAria.$ariaProvider#config config} method.
*/

/* global -ngAriaModule */
Expand All @@ -42,7 +42,7 @@ var ngAriaModule = angular.module('ngAria', ['ng']).
*
* @description
*
* Used for configuring aria attributes.
* Used for configuring ARIA attributes.
*
* ## Dependencies
* Requires the {@link ngAria} module to be installed.
Expand All @@ -63,7 +63,7 @@ function $AriaProvider() {
* @ngdoc method
* @name $ariaProvider#config
*
* @param {object} config object to enable/disable specific aria tags
* @param {object} config object to enable/disable specific ARIA attributes
*
* - **ariaHidden** – `{boolean}` – Enables/disables aria-hidden tags
* - **ariaChecked** – `{boolean}` – Enables/disables aria-checked tags
Expand All @@ -75,7 +75,7 @@ function $AriaProvider() {
* - **tabindex** – `{boolean}` – Enables/disables tabindex tags
*
* @description
* Enables/disables various aria tags
* Enables/disables various ARIA attributes
*/
this.config = function(newConfig) {
config = angular.extend(config, newConfig);
Expand Down Expand Up @@ -108,7 +108,7 @@ function $AriaProvider() {
*
* @description
*
* Contains helper methods for applying aria tags to HTML
* Contains helper methods for applying ARIA attributes to HTML
*
* ## Dependencies
* Requires the {@link ngAria} module to be installed.
Expand Down

0 comments on commit a3f44ed

Please sign in to comment.