Package limn.testing.a11y
Class TextContract
java.lang.Object
limn.testing.a11y.TextContract
What every widget of the
TEXT shape owes a reader, as named cases over a
TextSubject: the facet's string is the API's; SET_TEXT with a text replaces it
and with anything else changes nothing; SET_CARET with a collapsed range moves the caret
and SET_SELECTION with a range selects it, each read back off the facet; and the node
keeps its id as the text changes. The helper itself,
limn.components.internal.text.TextAccessibility, predates the shapes and is what the
shape was modelled on.-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ContractCase> cases(TextSubject subject, UiRuntime runtime) The cases, in the order the class description gives them.
-
Method Details
-
cases
The cases, in the order the class description gives them.- Parameters:
subject- the widget under contractruntime- the installed runtime the harness drains verbs through- Returns:
- the cases; a test runs each as a dynamic test
-