---
title: "accessibilityHeaderElements(forRow:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiaccessibilitycontainerdatatable/accessibilityheaderelements(forrow:)"
---

# accessibilityHeaderElements(forRow:)

Returns the accessibility element for the specified row header.

## Declaration

```swift
optional func accessibilityHeaderElements(forRow row: Int) -> [any UIAccessibilityContainerDataTableCell]?
```

## Parameters

- `row`: The index of the row containing the header.

## Return Value

Return Value The accessibility elements for the specified row header.

## See Also

### Providing header elements

- [accessibilityHeaderElements(forColumn:)](uikit/uiaccessibilitycontainerdatatable/accessibilityheaderelements(forcolumn:).md)
