---
title: "accessibilityTextMarker(forPosition:)"
framework: browserenginekit
role: symbol
role_heading: Instance Method
path: "browserenginekit/beaccessibilitytextmarkersupport/accessibilitytextmarker(forposition:)"
---

# accessibilityTextMarker(forPosition:)

Returns the text marker for the text at a given index in the element’s text.

## Declaration

```swift
func accessibilityTextMarker(forPosition position: Int) -> BEAccessibilityTextMarker?
```

## Parameters

- `position`: An index into the element’s text.

## Return Value

Return Value The text marker for the text at position, or nil if there isn’t text at that position.

## See Also

### Text positions

- [accessibilityNextTextMarker(_:)](browserenginekit/beaccessibilitytextmarkersupport/accessibilitynexttextmarker(_:).md)
- [accessibilityPreviousTextMarker(_:)](browserenginekit/beaccessibilitytextmarkersupport/accessibilityprevioustextmarker(_:).md)
- [accessibilityLineStartMarker(for:)](browserenginekit/beaccessibilitytextmarkersupport/accessibilitylinestartmarker(for:).md)
- [accessibilityLineEndMarker(for:)](browserenginekit/beaccessibilitytextmarkersupport/accessibilitylineendmarker(for:).md)
- [accessibilityMarker(for:)](browserenginekit/beaccessibilitytextmarkersupport/accessibilitymarker(for:).md)
- [BEAccessibilityTextMarker](browserenginekit/beaccessibilitytextmarker.md)
