Skip to content

Commit

Permalink
342096458: (fix) [GAR 1.3] add focus trap to certificates panel to pr…
Browse files Browse the repository at this point in the history
…event move focus to risk profile (#472)

Co-authored-by: Volha Mardvilka <mardvilka@google.com>
  • Loading branch information
OlgaMardvilko and OlgaMardvilko authored May 22, 2024
1 parent 2444b05 commit 0dd13d7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { MatIcon } from '@angular/material/icon';
import { CertificateItemComponent } from './certificate-item/certificate-item.component';
import { CommonModule, DatePipe } from '@angular/common';
import { MatButtonModule } from '@angular/material/button';
import { LiveAnnouncer } from '@angular/cdk/a11y';
import { CdkTrapFocus, LiveAnnouncer } from '@angular/cdk/a11y';
import { CertificateUploadButtonComponent } from './certificate-upload-button/certificate-upload-button.component';
import { CertificatesStore } from './certificates.store';
import { DeleteFormComponent } from '../../components/delete-form/delete-form.component';
Expand All @@ -37,6 +37,7 @@ import { FILE_NAME_LENGTH } from './certificate.validator';
CommonModule,
],
providers: [CertificatesStore, DatePipe],
hostDirectives: [CdkTrapFocus],
templateUrl: './certificates.component.html',
styleUrl: './certificates.component.scss',
})
Expand Down

0 comments on commit 0dd13d7

Please sign in to comment.