code: function getBlock(control) {
          var block = control.parentNode;
          while (block.getAttribute("role") !== "tablist") {
              block = block.parentNode;
          }
          return block;
      }
docs: climb up DOM to get block element