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.
Currently, ngAria checks attr.min/max in a 200-priority directive's post-linking function and sets aria-valuemin/aria-valuemax accordingly.
There are 2 issues with this approach:
ngMin/ngMax will also result in attr.min/max being updated, but only afterngAria has set aria-valuemin/max. As a result, ngAria is effectively not taking into account ngMin/ngMax (while I think it should).
If min/max change later on, aria-valuemin/max are not updated, resulting in misleading info (accessibility loses 😢).
Luckily, solving (2) will automatically fix (1) as well.
So, I believe that ngAria should attr.$observe certain attributes and update aria values accordingly.
This is probably true for other attributes besides min/max (@marcy should know better).