---
title: "accessibilityContent(for:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/beaccessibilitytextmarkersupport/accessibilitycontent(for:)"
---

# accessibilityContent(for:)

Returns the accessibility content for a text range.

## Declaration

```swift
func accessibilityContent(for range: BEAccessibilityTextMarker.Range) -> String?
```

## Parameters

- `range`: The text marker range.

## Return Value

Return Value The string of text within the marker range, or nil if there’s no text in the range.
