<p dir="auto">This makes it keyboard selectable, and also preserves the event handler.</p>
<p dir="auto">I had originally looked at using <code class="notranslate">tabindex="0"</code> to make the link itself selectable, but then the onclick event doesn't fire, so I went with using a button instead.</p>
<p dir="auto">Refs <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1321522295" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/3637" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/3637/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/3637">#3637</a></p>

<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/3644'>https://github.com/openstreetmap/openstreetmap-website/pull/3644</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/3644/commits/08020fff6312c151b71c856aeaa571da2052977d" class="commit-link">08020ff</a>  Switch reverse_directions link to use a button</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/3644/files">2 files</a>)</p>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3644/files#diff-e86a39e6d0b163f152db8843fc7d647a3f5d648de4a74f1732bef4474b6e5bc8">app/assets/stylesheets/common.scss</a>
    (4)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/3644/files#diff-60b815932a6942ef4da576f75ee4e9b670e2aeb07950b7f8494bdbedb319c8c2">app/views/layouts/_search.html.erb</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3644.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/3644.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/3644.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/3644.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/3644">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLPZUQSZCJ74VTFKXJTVXJWIHANCNFSM55O2AP5A">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLOJCBLDQMFMIIKJYKTVXJWIHA5CNFSM55O2AP5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4TY3QMBQ.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/3644</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/3644",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/3644",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>