aria.js (angular.js-1.7.9) | : | aria.js (angular.js-1.8.0) | ||
---|---|---|---|---|
skipping to change at line 158 | skipping to change at line 158 | |||
elem.attr(ariaAttr, boolVal); | elem.attr(ariaAttr, boolVal); | |||
}); | }); | |||
} | } | |||
}; | }; | |||
} | } | |||
/** | /** | |||
* @ngdoc service | * @ngdoc service | |||
* @name $aria | * @name $aria | |||
* | * | |||
* @description | * @description | |||
* @priority 200 | ||||
* | * | |||
* The $aria service contains helper methods for applying common | * The $aria service contains helper methods for applying common | |||
* [ARIA](http://www.w3.org/TR/wai-aria/) attributes to HTML directives. | * [ARIA](http://www.w3.org/TR/wai-aria/) attributes to HTML directives. | |||
* | * | |||
* ngAria injects common accessibility attributes that tell assistive technolo gies when HTML | * ngAria injects common accessibility attributes that tell assistive technolo gies when HTML | |||
* elements are enabled, selected, hidden, and more. To see how this is perfor med with ngAria, | * elements are enabled, selected, hidden, and more. To see how this is perfor med with ngAria, | |||
* let's review a code snippet from ngAria itself: | * let's review a code snippet from ngAria itself: | |||
* | * | |||
*```js | *```js | |||
* ngAriaModule.directive('ngDisabled', ['$aria', function($aria) { | * ngAriaModule.directive('ngDisabled', ['$aria', function($aria) { | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added |