import { Predicate } from "@siteimprove/alfa-predicate" ; import { Attribute , Element } from "@siteimprove/alfa-dom" ; import { hasAttribute } from "./has-attribute" ; import { hasValue } from "./has-value" ; import { Refinement } from "@siteimprove/alfa-refinement" ; const { or , equals } = Predicate ; const { and } = Refinement ; /**
 *  https export const isSemanticallyDisabled = or ( Element . isDisabled , hasAttribute ( and ( Attribute . hasName ( "aria-disabled" ) , hasValue ( equals ( "true" ) ) ) ) ) ;