From ac2d87243f99131f47cfff82680a1fa5885ef086 Mon Sep 17 00:00:00 2001 From: kurilova Date: Mon, 9 Sep 2024 11:44:52 +0000 Subject: [PATCH] Focus first interactive element on redirect to risk assessment --- modules/ui/src/app/app.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/ui/src/app/app.component.ts b/modules/ui/src/app/app.component.ts index 05dc9e001..0fd9098f9 100644 --- a/modules/ui/src/app/app.component.ts +++ b/modules/ui/src/app/app.component.ts @@ -145,7 +145,9 @@ export class AppComponent { } navigateToRiskAssessment(): void { - this.route.navigate([Routes.RiskAssessment]); + this.route.navigate([Routes.RiskAssessment]).then(() => { + this.appStore.setFocusOnPage(); + }); } async closeCertificates(): Promise {