aria-allowed-role-matches.js 221 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 import { getExplicitRole } from '../commons/aria'; function ariaAllowedRoleMatches(node) { return ( getExplicitRole(node, { dpub: true, fallback: true }) !== null ); } export default ariaAllowedRoleMatches;