test()

in src/rules/no-unsupported-elements-use-aria.js [12:18]


    test(tagName, props) {
        warnRuleDeprecated('no-unsupported-elements-use-aria', 'aria-unsupported-elements');
        const reserved = (Object.prototype.hasOwnProperty.call(DOM, tagName) && DOM[tagName].reserved) || false;
        const prop = hasProp(props, Object.keys(aria).concat('role'));

        return !reserved || !prop;
    }