---
title: accessibility
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/contentshapekinds/accessibility
---

# accessibility

The kind for accessibility visuals and sorting.

## Declaration

```swift
static let accessibility: ContentShapeKinds
```

## Discussion

Discussion Setting a content shape with this kind causes the accessibility frame and path of the view’s underlying accessibility element to match the shape without adjusting the hit-testing shape, updating the visual focus ring that assistive apps, such as VoiceOver, draw, as well as how the element is sorted. Updating the accessibility shape is only required if the shape or size used to hit-test significantly diverges from the visual shape of the view. To control the shape for accessibility and hit-testing, use the interaction kind.

## See Also

### Getting shape kinds

- [interaction](swiftui/contentshapekinds/interaction.md)
- [dragPreview](swiftui/contentshapekinds/dragpreview.md)
- [contextMenuPreview](swiftui/contentshapekinds/contextmenupreview.md)
- [focusEffect](swiftui/contentshapekinds/focuseffect.md)
- [hoverEffect](swiftui/contentshapekinds/hovereffect.md)
