Type alias PermittedARIAProperties

PermittedARIAProperties: false | {
    global?: true;
    only?: [string | {
        name: string;
        value?: string;
    }, ...(string | {
        name: string;
        value?: string;
    })[]];
    role?: true | string | [string, ...string[]];
    without?: [{
        alt?: {
            method: "remove-attr" | "set-attr";
            target: string;
        };
        name: string;
        type: "not-recommended" | "should-not" | "must-not";
        value?: string;
    }, ...{
        alt?: {
            method: "remove-attr" | "set-attr";
            target: string;
        };
        name: string;
        type: "not-recommended" | "should-not" | "must-not";
        value?: string;
    }[]];
}

If set false:

No role or aria-* attributes

Generated using TypeDoc