<!--
{
  "availability" : [
    "iOS: 18.2.0 -",
    "iPadOS: 18.2.0 -",
    "macOS: -",
    "tvOS: 18.2.0 -",
    "visionOS: 2.2.0 -",
    "watchOS: 11.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BrowserEngineKit",
  "identifier" : "/documentation/BrowserEngineKit/BEAccessibilityTextMarkerSupport/accessibilityBounds(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "BrowserEngineKit"
    ],
    "preciseIdentifier" : "c:objc(pl)BEAccessibilityTextMarkerSupport(im)accessibilityBoundsForTextMarkerRange:"
  },
  "title" : "accessibilityBounds(for:)"
}
-->

# accessibilityBounds(for:)

Calculates the bounding rectangle for a text range.

```
func accessibilityBounds(for range: BEAccessibilityTextMarker.Range) -> CGRect
```

## Parameters

`range`

The text marker range.

## Return Value

The bounds in accessiblity space of the text range, or <doc://com.apple.documentation/documentation/CoreGraphics/CGRectZero> if the method can’t calculate the bounds.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)