Returns a clean label for the primary (Username) column’s row header aria-label.
Description
Provides screen readers with just the user login as the row header name, preventing them from computing the name from the full cell content.
Parameters
Source
protected function get_primary_column_aria_label( $user ) {
return $user->user_login;
}
Changelog
| Version | Description |
|---|---|
| 7.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.