UNPKG

@markuplint/ml-spec

Version:

Types and schema that specs of the Markup languages for markuplint

9 lines (8 loc) 272 B
import { getARIA } from './get-aria.js'; export function getImplicitRole(specs, localName, namespace, version, matches) { const aria = getARIA(specs, localName, namespace, version, matches); if (!aria) { return false; } return aria.implicitRole; }