<p dir="auto"><code class="notranslate">og:image:alt</code> is set to</p>
<ul dir="auto">
<li>"OpenStreetMap logo" when the default osm logo image is used as <code class="notranslate">og:image</code>, like attempted in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1599766731" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3945" data-hovercard-type="pull_request" data-hovercard-url="/openstreetmap/openstreetmap-website/pull/3945/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/pull/3945">#3945</a></li>
<li>alt text from the first image of a diary entry when it's use as <code class="notranslate">og:image</code></li>
<li>nothing with the property skipped if the first image has no <code class="notranslate">alt</code> attribute, which is unlikely because you can't do it with markdown syntax</li>
</ul>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/5046'>https://github.com/openstreetmap/openstreetmap-website/pull/5046</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5046/commits/69a2d5f4d40b82f7a3520c435f8ec065745a3dda" class="commit-link">69a2d5f</a> Add image_alt accessor to rich text</li>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/5046/commits/243557a31aec5012796821fda6f2702a5e1efdae" class="commit-link">243557a</a> Set og:image:alt OpenGraph property</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5046/files">6 files</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5046/files#diff-4b73866ef57c70fca07c0f330d7a57aae939b11e4aae0514f303df3aa3762f89">app/controllers/diary_entries_controller.rb</a>
(1)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5046/files#diff-3b130313f33af70814d5335654e0d36dd7225fde4555e9db4aeb59daf7da6924">app/helpers/open_graph_helper.rb</a>
(21)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5046/files#diff-b3aa1d88647a55c139237705e584a32ca1962ba65e0e1b55b714fcc2b8e9c2fb">app/views/layouts/_meta.html.erb</a>
(2)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5046/files#diff-6854f233485e4f1bf82ed21283e3637f9114d7c5431b80926ba2f5657b54e9fb">lib/rich_text.rb</a>
(12)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5046/files#diff-10a5c4533814c8b1222f0ef0833c82edd68584d85757fc431557b39813777c19">test/controllers/diary_entries_controller_test.rb</a>
(30)
</li>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/5046/files#diff-c1cefbd36a92f5d74850361751b9b01c7d326221cfa8c15c0c071008165de745">test/lib/rich_text_test.rb</a>
(26)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5046.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/5046.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/5046.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/5046.diff</a></li>
</ul>
<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/5046">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLP63HODEFB4HPWJ65DZP3RMPAVCNFSM6AAAAABL7M6OZOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ2DONBXHEYDEOA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNJUDBWBHMFWT3F4YLZP3RMPA5CNFSM6AAAAABL7M6OZOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHJDYMQ6Q.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/5046</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/5046",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/5046",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>