code: function toggleState(element, state) {
      setAttribute(element, `aria-${state}`, !stringToBoolean(getAttribute(element, `aria-${state}`)));
  }
docs: Toggle state ------------ Changes boolean state from true to false and from false to true.