$ariaProvider
Configure automatic ARIA attributes.
Use $ariaProvider to choose which accessibility attributes AngularTS manages
for common directives such as ng-show, ng-hide, ng-model, and disabled
controls.
angular.module('app', []).config(($ariaProvider) => {
$ariaProvider.config({
ariaHidden: true,
ariaChecked: true,
ariaDisabled: true,
ariaRequired: true,
ariaReadonly: true,
ariaValue: true,
tabindex: true,
});
});
See also ng-aria.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.