angular.module('openproject.uiComponents') .directive('accessibleByKeyboard', [function() { return { restrict: 'E', transclude: true, scope: { execute: '&', linkClass: '@' }, template: "" + "" + "", link: function(scope, element, attrs) { scope.defaultEventHandling = !attrs.execute; } }; }]);