Instance Method インスタンスメソッド

accessibilityInputLabels(_:)

Sets alternate input labels with which users identify a view. それでユーザがあるビューを識別するところの代替の入力ラベルを設定します。

Declaration 宣言

func accessibilityInputLabels(_ inputLabels: [Text]) -> ModifiedContent<Content, Modifier>
Available when Modifier is AccessibilityAttachmentModifier.

Discussion 議論

If you don’t specify any input labels, the user can still refer to the view using the accessibility label that you add with the accessibilityLabel() modifier. Provide labels in descending order of importance. Voice Control and Full Keyboard Access use the input labels.