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