import { ariaAttributes } from "./attributes";
import { inheritAttributes } from "../Dom/attribute";
export const inheritAriaAttributes = (el, ignoreList) => {
    let attributesToInherit = ariaAttributes;
    if (ignoreList && ignoreList.length > 0) {
        attributesToInherit = attributesToInherit.filter((attr) => !ignoreList.includes(attr));
    }
    return inheritAttributes(el, attributesToInherit);
};
//# sourceMappingURL=accessibility.js.map
