docs: function(arg) {
          var navigationInformation = arg.navigationInformation;
          var direction = navigationInformation.direction;
          var origin = navigationInformation.origin;
  
          var reverse = (direction === 'forward' && origin === 'popup') || (direction === 'backward' && origin === 'browser');
          if (loop) {
              reverse = !reverse;
          }
          ariaTemplatesNavigationManager.focusFirst(element, reverse);
      }