No title attribute for wp_tag_cloud links
my args look like this:
//short version of $args_c
$args_c = [ "topic_count_text_callback"=> "my_tax_callback",
"show_count" => 1, //if this is present the aria-label attribute shows
];
function my_tag_text_callback( $count ) {
return sprintf( _n('%s post', '%s posts', $count), number_format_i18n( $count ) );
}
wp_tag_cloud($args_c);
This adds an aria-label attribute:
aria-label="text(x posts)"
No title attribute is generated. Is the title attribute obsolete and the aria-label the preferred attribute? If the title attribute still has a value for SEO, is there a way to add it programmatically?