---
title: "accessibility(value:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/modifiedcontent/accessibility(value:)"
---

# accessibility(value:)

Adds a textual description of the value that the view contains.

## Declaration

```swift
nonisolated func accessibility(value: Text) -> ModifiedContent<Content, Modifier>
```

## Discussion

Discussion Use this method to describe the value represented by a view, but only if that’s different than the view’s label. For example, for a slider that you label as “Volume” using accessibility(label:), you can provide the current volume setting, like “60%”, using accessibility(value:).
