An array of Text elements to use as input labels.
Instance Method
インスタンスメソッド
accessibility(input
accessibility(inputLabels:)
Sets alternate input labels with which users identify a view.
それでユーザがあるビューを識別するところの代替の入力ラベルを設定します。
Availability 有効性
- iOS 13.0–15.4 Deprecated
- iPadOS 13.0–15.4 Deprecated
- macOS 10.15–12.3 Deprecated
- Mac Catalyst 13.0–15.4 Deprecated
- tvOS 13.0+
- watchOS 6.0–8.5 Deprecated
Technology
- Swift
UI
Declaration 宣言
func accessibility(inputLabels: [Text
]) -> ModifiedContent
<Self, AccessibilityAttachmentModifier
>
Parameters パラメータ
inputLabels
Discussion 議論
Provide labels in descending order of importance. Voice Control and Full Keyboard Access use the input labels.
Note 注意
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 accessibility(label:)
modifier.