Installed angular/cdk using npm install --save @angular/cdk than imported import {A11yModule} from '@angular/cdk/a11y'; to app.module file. Tried to use in simple div
<div cdkTrapFocus>
<button>1</button>
<button>2 </button>
<button>3 </button>
</div>
but it not work tried to find more information in internet, but as I see for examples people are using same cdkTrapFocus directive in div