<table>
  <tbody>
    <tr>
      <td>One<a href="#" class="row-link"></a></td>
      <td>Two<a href="#" tabindex="-1" class="row-link"></a></td>
      <td>Three<a href="#" tabindex="-1" class="row-link"></a></td>
      <td>Four<a href="#" tabindex="-1" class="row-link"></a></td>
      <td>
        <a href="#link">Link</a>
        <a href="#" tabindex="-1" class="row-link"></a>
      </td>
    </tr>
    <tr>
      <td>One<a href="#" class="row-link"></a></td>
      <td>Two<a href="#" tabindex="-1" class="row-link"></a></td>
      <td>Three<a href="#" tabindex="-1" class="row-link"></a></td>
      <td>Four<a href="#" tabindex="-1" class="row-link"></a></td>
      <td>
        <a href="#link">Link</a>
        <a href="#" tabindex="-1" class="row-link"></a>
      </td>
    </tr>
    <tr>
      <td>One<a href="#" class="row-link"></a></td>
      <td>Two<a href="#" tabindex="-1" class="row-link"></a></td>
      <td>Three<a href="#" tabindex="-1" class="row-link"></a></td>
      <td>Four<a href="#" tabindex="-1" class="row-link"></a></td>
      <td>
        <a href="#link">Link</a>
        <a href="#" tabindex="-1" class="row-link"></a>
      </td>
    </tr>
  </tbody>
</table>
body {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

table {
  border: 2px solid blueviolet;
  border-collapse: collapse;
}
body {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  color: #37559d;
}

a {
  color: #5165ff;
}

td {
  border: 2px solid #ccd2ff;
  position: relative;
  padding: 18px;
}

tr:hover,
tr:focus-within {
  background: #f2f3ff;
  outline: none;
}

td > .row-link {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-decoration: none;
  color: inherit;

  &:focus {
    outline: 0;
  }
}

td > a:not(.row-link) {
  position: relative;
  z-index: 1;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.