Interface: InkSemanticAnnotation
@termwright/ink / InkSemanticAnnotation
Interface: InkSemanticAnnotation
Section titled “Interface: InkSemanticAnnotation”Defined in: ink/src/types.ts:6
Intent an application knows and the Ink host tree cannot derive.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”actions?
Section titled “actions?”
readonlyoptionalactions?: readonly ("focus"|"activate"|"toggle"|"setValue"|"scroll"|"select"|"expand")[]
Defined in: ink/src/types.ts:15
Descriptive input intent. Actions still travel through the terminal.
describedBy?
Section titled “describedBy?”
readonlyoptionaldescribedBy?: readonlyRefObject<DOMElement|null>[]
Defined in: ink/src/types.ts:17
description?
Section titled “description?”
readonlyoptionaldescription?:string
Defined in: ink/src/types.ts:10
extended?
Section titled “extended?”
readonlyoptionalextended?:SemanticExtendedObject
Defined in: ink/src/types.ts:13
Application-domain JSON; never merged into portable framework state.
labelledBy?
Section titled “labelledBy?”
readonlyoptionallabelledBy?: readonlyRefObject<DOMElement|null>[]
Defined in: ink/src/types.ts:16
readonlyoptionalname?:string
Defined in: ink/src/types.ts:9
Accessible name used by getByRole(role, { name }).
readonlyoptionalrole?:"application"|"region"|"dialog"|"alert"|"status"|"list"|"listitem"|"menu"|"menuitem"|"button"|"checkbox"|"radio"|"tab"|"textbox"|"heading"|"text"|"progressbar"|"separator"|"scrollbar"|"table"|"row"|"cell"|"generic"
Defined in: ink/src/types.ts:7
testId?
Section titled “testId?”
readonlyoptionaltestId?:string
Defined in: ink/src/types.ts:11