Inherits from SLElement : SLUIAElement : NSObject
Declared in SLTextView.h

Overview

SLWebTextView matches text views displayed in web views.

Such as HTML textarea elements.

Configuring web text views' accessibility information

A web text view’s -label is the text of a DOM element specified by the “aria-labelled-by” attribute, if present. See SLWebTextView.html and the SLWebTextView test cases of SLTextViewTest.

Tasks

  •   text

    The text displayed by the text view.

    property

Properties

text

The text displayed by the text view.

@property (nonatomic, copy) NSString *text

Discussion

-text returns the web text view’s value (i.e. the value of the text area).

Exceptions

SLUIAElementInvalidException

Raised by both -text and setText: if the element is not valid by the end of the default timeout.

SLUIAElementNotTappableException

Raised, only by setText:, if the element is not tappable when whatever amount of time remains of the default timeout after the element becomes valid elapses.

Declared In

SLTextView.h