<p></p>
<p><b>@pablobm</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6501#discussion_r2499268366">app/views/diary_entries/_profile_diaries.html.erb</a>:</p>
<pre style='color:#555'>>                <span class="visually-hidden"><%= t ".title_label" %></span>
               <%= link_to entry.title, diary_entry_path(@user, entry), :class => "align-self-center lh-sm" %>
             </p>
             <p class="card-text flex-grow-1"><%= truncate(strip_tags(entry.body.to_html), :length => 150) %></p>
 
             <div class="card-text d-flex justify-content-between align-items-center mt-auto">
               <small class="text-body-secondary d-flex gap-1 align-items-center">
-                <i class="bi bi-chat fs-5 my-n1" aria-hidden="true"></i>
+                <i class="bi bi-chat fs-5 my-n1" title="<%= t ".comments_label" %>" aria-hidden="true"></i>
</pre>
<p dir="auto">In this specific case, what I mean is that I think it's not necessary to have anything working as a title (neither icon title nor <code class="notranslate">span</code>) because they are followed by "X comments" which is self-explanatory.</p>
<p dir="auto">I just tried with iOS VoiceOver and with the <a href="https://addons.mozilla.org/en-US/firefox/addon/read-aloud/" rel="nofollow">Read Aloud</a> extension on Firefox. In this specific instance both say "comments, zero comments". I think it can do with just saying "zero comments", with no prologue.</p>
<p dir="auto">Also in my test, it appears to be the <code class="notranslate">span</code> that is read by these tools, so perhaps it can be removed and the icon title left in place, although I don't know that the title serves any purpose. If it's any like the <code class="notranslate">alt</code> attribute in images, then it's best not to use it unless the image adds significant meaning, which is not the case here.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6501#discussion_r2499268366">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLIDXG7M5FBOADITK6333NOV7AVCNFSM6AAAAACLFMRREOVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZTIMRYGU4TCNRWGU">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLIBGS5RG76ADWKEZMT33NOV7A5CNFSM6AAAAACLFMRREOWGG33NNVSW45C7OR4XAZNRKB2WY3CSMVYXKZLTORJGK5TJMV32UY3PNVWWK3TUL5UWJTWMLQUDC.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6501/review/3428591665</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6501#discussion_r2499268366",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6501#discussion_r2499268366",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>