<!--
{
  "availability" : [
    "macOS: 10.10.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSAccessibilityProtocol/accessibilityRange(for:)-6kv3",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSAccessibility(im)accessibilityRangeForIndex:"
  },
  "title" : "accessibilityRange(for:)"
}
-->

# accessibilityRange(for:)

Returns the range of characters for the glyph that includes the specified character.

```
func accessibilityRange(for index: Int) -> NSRange
```

## Parameters

`index`

The specified character.

## Return Value

The range of characters for the glyph.

## Discussion

This value always includes the specified character but may include additional characters if that character is part of a multicharacter glyph.

---

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)