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.
Changes for #10388 got rid of the extra events for BUTTON and A tags, but I think more could be done to make the accessibility more consistent. The browser already triggers the click event for A tags on enter if the href attribute is set, but never triggers the click event on space.
I think ngAria should hook keypress and trigger ng-click bindings on space, and trigger on enter if no href attribute is set.
This would result in ng-click behaving the same on BUTTON (implemented by the browser), A (browser + this change), DIV, and LI - triggering on click, enter, or space.