code: function walkDOM(element) {
          var elements = getParents(element);
          for (var i = 0; i < elements.length; i++) {
            elements[i].setAttribute('aria-hidden', isHidden);
          }
        }
docs: Walk DOM to apply or remove aria-hidden on sibling nodes
  and parent sibling nodes