import { Element } from "@siteimprove/alfa-dom" ; import { Device } from "@siteimprove/alfa-device" ; import { Predicate } from "@siteimprove/alfa-predicate" ; import { isRendered } from "./is-rendered" ; const { hasTabIndex , isDisabled } = Element ; const { and , not } = Predicate ; /**
 *  https export function isFocusable ( device ) { return and ( hasTabIndex ( ) , and ( not ( isDisabled ) , isRendered ( device ) ) ) ; }