function getElementAriaAttributes(element) {
  return Object.keys(element.attribs)
    .map(attr => attr.toLowerCase())
    .filter(isAriaPropertyName);
}
Gets the ARIA attribute names in use on the element
@param {import("parse5-htmlparser2-tree-adapter").Element} element