UNPKG

axe-core

Version:

Accessibility engine for automated Web UI testing

14 lines (10 loc) 317 B
import { getRole } from '../commons/aria'; import standards from '../standards'; function nestedInteractiveMatches(node, virtualNode) { const role = getRole(virtualNode); if (!role) { return false; } return !!standards.ariaRoles[role].childrenPresentational; } export default nestedInteractiveMatches;