Вы можете использовать tabindex = '- 1' . Отрицательное значение указывает, что элемент недоступен с помощью последовательной навигации по клавиатуре.
<p>my Table</p>
<table class="example-focus-monitor" cdkTrapFocus>
<tr>
<th><button tabIndex='-1'>dont focus</button></th>
<th><button>focus</button></th>
</tr>
<tr>
<th><button tabIndex='-1'>dont focus</button></th>
<th><button>focus</button><button>also focus</button></th>
</tr>
<tr>
<th><button tabIndex='-1'>dont focus</button></th>
<th><button>focus</button></th>
</tr>
<tr>
<th><button tabIndex='-1'>dont focus</button></th>
<th><button>focus</button><button>also focus</button></th>
</tr>
</table>
<button>should never be focused when using tab and focus inside table</button>