You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
If I have <input type="text" ng-model="username" name="username" required> and I'm using ngAria then it should have the aria-required attribute added to it.
Based on a Twitter conversation with @marcysutton: https://twitter.com/dpogue/status/569999089967849472
If I have
<input type="text" ng-model="username" name="username" required>and I'm using ngAria then it should have thearia-requiredattribute added to it.This currently only happens when the field doesn't have content (i.e., when
username.$error.requiredis true):https://github.com/angular/angular.js/blob/master/src/ngAria/aria.js#L292-L298