code: function doAria(element, key, value) {
      if ($.type(value) === 'undefined') {
          return element.getAttribute('aria-' + key);
      }
  
      if (value === true) {
          value = 'true';
      } else if (value === false) {
          value = 'false';
      }
  
      element.setAttribute('aria-' + key, value);
  }
docs: A multi-purpose getter and setter for ARIA attributes.
  Will prefix attribute names and cast values correctly.
  
  @param {Element} element
  @param {String|Object} key
  @param {*} value