removeShortcut(element, shortcut) {
    // Avoid infinite recursion.
    if (!element || (this.root === this)) {
      return;
    }

    if (!shortcut) {
      shortcut = this.component.shortcut;
    }

    this.root.removeShortcut(element, shortcut);
  }
Removes a keyboard shortcut from this component.
@param {HTMLElement} element - The element to remove the keyboard shortcut from.
@param {string} shortcut - The keyboard shortcut to remove.
@returns {void}