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

Commit a3f44ed

Browse files
cironunesbtford
authored andcommittedOct 9, 2014
docs(ngAria): correct wording and add resource
1 parent b0307a3 commit a3f44ed

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed
 

‎docs/content/guide/accessibility.ngdoc

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ navigation easier.
5555

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

58+
* [A11Y Project](http://a11yproject.com/)
5859
* [WebAim](http://webaim.org/)
5960
* [Using WAI-ARIA in HTML](http://www.w3.org/TR/2014/WD-aria-in-html-20140626/)
6061
* [Apps For All: Coding Accessible Web Applications](https://shop.smashingmagazine.com/apps-for-all-coding-accessible-web-applications.html)

‎src/ngAria/aria.js

+11-11
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
* @name ngAria
66
* @description
77
*
8-
* The `ngAria` module provides support for adding aria tags that convey state or semantic information
9-
* about the application in order to allow assistive technologies to convey appropriate information to
10-
* persons with disabilities.
8+
* The `ngAria` module provides support for adding <abbr title="Accessible Rich Internet Applications">ARIA</abbr>
9+
* attributes that convey state or semantic information about the application in order to allow assistive technologies
10+
* to convey appropriate information to persons with disabilities.
1111
*
1212
* <div doc-module-components="ngAria"></div>
1313
*
1414
* # Usage
15-
* To enable the addition of the aria tags, just require the module into your application and the tags will
15+
* To enable the addition of the ARIA tags, just require the module into your application and the tags will
1616
* hook into your ng-show/ng-hide, input, textarea, button, select and ng-required directives and adds the
17-
* appropriate aria-tags.
17+
* appropriate ARIA attributes.
1818
*
19-
* Currently, the following aria tags are implemented:
19+
* Currently, the following ARIA attributes are implemented:
2020
*
2121
* + aria-hidden
2222
* + aria-checked
@@ -29,7 +29,7 @@
2929
* + aria-valuemax
3030
* + tabindex
3131
*
32-
* You can disable individual aria tags by using the {@link ngAria.$ariaProvider#config config} method.
32+
* You can disable individual ARIA attributes by using the {@link ngAria.$ariaProvider#config config} method.
3333
*/
3434

3535
/* global -ngAriaModule */
@@ -42,7 +42,7 @@ var ngAriaModule = angular.module('ngAria', ['ng']).
4242
*
4343
* @description
4444
*
45-
* Used for configuring aria attributes.
45+
* Used for configuring ARIA attributes.
4646
*
4747
* ## Dependencies
4848
* Requires the {@link ngAria} module to be installed.
@@ -63,7 +63,7 @@ function $AriaProvider() {
6363
* @ngdoc method
6464
* @name $ariaProvider#config
6565
*
66-
* @param {object} config object to enable/disable specific aria tags
66+
* @param {object} config object to enable/disable specific ARIA attributes
6767
*
6868
* - **ariaHidden** – `{boolean}` – Enables/disables aria-hidden tags
6969
* - **ariaChecked** – `{boolean}` – Enables/disables aria-checked tags
@@ -75,7 +75,7 @@ function $AriaProvider() {
7575
* - **tabindex** – `{boolean}` – Enables/disables tabindex tags
7676
*
7777
* @description
78-
* Enables/disables various aria tags
78+
* Enables/disables various ARIA attributes
7979
*/
8080
this.config = function(newConfig) {
8181
config = angular.extend(config, newConfig);
@@ -108,7 +108,7 @@ function $AriaProvider() {
108108
*
109109
* @description
110110
*
111-
* Contains helper methods for applying aria tags to HTML
111+
* Contains helper methods for applying ARIA attributes to HTML
112112
*
113113
* ## Dependencies
114114
* Requires the {@link ngAria} module to be installed.

0 commit comments

Comments
 (0)
This repository has been archived.