Someone at stackoverflow suggested that perhaps I should talk to WordPress organization about this.
<h3 id=”reply-title”>
This h3 tag resides in core file and there isn’t a way to add a class to it in pure php. As someone @stackoverflow pointed out, and I concur, once the page loads, php has no way of altering the already loaded html.
If there is, I wouldn’t know how to go about it. What I ended up doing was by hooking the comment_form in comments.php, I’ve inserted a sub element (span tag) below/inside the <h3> tag.
This does the job & this does not involve jQuery but I am not happy with it as this adds extra element to the html (extra span tag), making my code looking ugly. ??
I really feel like some guru programmer needs to sort this out for WP community. (I’ve encountered other developers struggling with this same subject.)
Either you roll your dice with jQuery hoping no one is visiting your site with javascript disabled or you end up with ugly html.
Neither is ideal.