function isInvalidAriaAttribute(attr) {
  const lower = attr.toLowerCase();
  return lower.startsWith('aria-') && !isAriaPropertyName(lower);
}
Identifies invalid aria-* attributes
@param {string} attr
@return {boolean}