Title: WP_List_Table::get_primary_column_aria_label
Published: August 20, 2026

---

# WP_List_Table::get_primary_column_aria_label( object|array $item ): string

## In this article

 * [Description](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#description)
 * [Parameters](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#parameters)
 * [Return](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#wp--skip-link--target)

Returns a clean, human-readable label for the primary column’s row header.

## 󠀁[Description](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#description)󠁿

Used as the `aria-label` attribute value on the `<th scope="row">` element, giving
screen readers a concise cell name instead of computing it from the full cell content(
which may include row action links, excerpts, etc.).

Subclasses should override this method to return the item’s primary identifier (
e.g. post title, plugin name, username). Return an empty string to omit the attribute.

## 󠀁[Parameters](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#parameters)󠁿

 `$item`object|arrayrequired

The current item.

## 󠀁[Return](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#return)󠁿

 string The aria-label value, or an empty string.

## 󠀁[Source](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#source)󠁿

    ```php
    protected function get_primary_column_aria_label( $item ) {
    	return '';
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/class-wp-list-table.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.1/src/wp-admin/includes/class-wp-list-table.php#L1792)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.1/src/wp-admin/includes/class-wp-list-table.php#L1792-L1794)

## 󠀁[Related](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#related)󠁿

| Used by | Description | 
| [WP_List_Table::single_row_columns()](https://developer.wordpress.org/reference/classes/wp_list_table/single_row_columns/)`wp-admin/includes/class-wp-list-table.php` |

Generates the columns for a single row of the table.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/classes/wp_list_table/get_primary_column_aria_label/?output_format=md#changelog)󠁿

| Version | Description | 
| [7.1.0](https://developer.wordpress.org/reference/since/7.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fclasses%2Fwp_list_table%2Fget_primary_column_aria_label%2F)
before being able to contribute a note or feedback.