IFocusable
Defined in: plugins/focus/FocusManagerPlugin.ts:17
Extends
Container
Properties
_accessibleDiv?
optional
_accessibleDiv:HTMLElement
Defined in: plugins/focus/FocusManagerPlugin.ts:22
Overrides
Container._accessibleDiv
accessible
accessible:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:25
Flag for if the object is accessible. If true AccessibilityManager will overlay a shadow div with attributes set
Default
false
Overrides
Container.accessible
accessibleChildren
accessibleChildren:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:30
Setting to false will prevent any children inside this container to be accessible. Defaults to true.
Default
true
Overrides
Container.accessibleChildren
accessibleHint
accessibleHint:
string
Defined in: plugins/focus/FocusManagerPlugin.ts:28
Sets the aria-label attribute of the shadow div
Overrides
Container.accessibleHint
accessiblePointerEvents?
optional
accessiblePointerEvents:PointerEvents
Defined in: plugins/focus/FocusManagerPlugin.ts:29
Overrides
Container.accessiblePointerEvents
accessibleTitle
accessibleTitle:
string
Defined in: plugins/focus/FocusManagerPlugin.ts:27
Sets the title attribute of the shadow div If accessibleTitle AND accessibleHint has not been this will default to ‘container [tabIndex]‘
Member
Overrides
Container.accessibleTitle
accessibleType
accessibleType:
undefined
| keyof HTMLElementTagNameMap
Defined in: plugins/focus/FocusManagerPlugin.ts:26
Specify the type of div the accessible layer is. Screen readers treat the element differently depending on this type. Defaults to button.
Default
'button'
Overrides
Container.accessibleType
focusEnabled
focusEnabled:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:20
isFocused
isFocused:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:18
isKeyDown
isKeyDown:
boolean
Defined in: plugins/focus/FocusManagerPlugin.ts:19
onBlur
onBlur:
Signal
<(focusable
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:36
onFocus
onFocus:
Signal
<(focusable
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:35
onFocusIn
onFocusIn:
Signal
<(focusable
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:33
onFocusOut
onFocusOut:
Signal
<(focusable
) =>void
>
Defined in: plugins/focus/FocusManagerPlugin.ts:34
tabIndex
tabIndex:
number
Defined in: plugins/focus/FocusManagerPlugin.ts:21
Default
0
Overrides
Container.tabIndex
Methods
blur()
blur():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:44
Returns
void
click()
click():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:42
Returns
void
focusIn()
focusIn():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:38
Returns
void
focusOut()
focusOut():
void
Defined in: plugins/focus/FocusManagerPlugin.ts:40
Returns
void
getFocusArea()
getFocusArea():
Bounds
Defined in: plugins/focus/FocusManagerPlugin.ts:48
Returns
Bounds
getFocusPosition()
getFocusPosition():
null
|PointLike
Defined in: plugins/focus/FocusManagerPlugin.ts:50
Returns
null
| PointLike
getFocusSize()
getFocusSize():
null
|PointLike
Defined in: plugins/focus/FocusManagerPlugin.ts:52
Returns
null
| PointLike
getGlobalPosition()
getGlobalPosition():
Point
Defined in: plugins/focus/FocusManagerPlugin.ts:46
Returns
Point
Overrides
Container.getGlobalPosition