From d7dfbfb7f8ee1a78e7212f9c51f408c8aef9f369 Mon Sep 17 00:00:00 2001 From: kurilova Date: Mon, 9 Mar 2026 14:51:39 +0000 Subject: [PATCH] Adds improvements for better a11y --- .../version/consent-dialog/consent-dialog.component.html | 2 +- modules/ui/src/app/components/version/version.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/ui/src/app/components/version/consent-dialog/consent-dialog.component.html b/modules/ui/src/app/components/version/consent-dialog/consent-dialog.component.html index 9c73c1885..8508045aa 100644 --- a/modules/ui/src/app/components/version/consent-dialog/consent-dialog.component.html +++ b/modules/ui/src/app/components/version/consent-dialog/consent-dialog.component.html @@ -16,7 +16,7 @@
-

Welcome to Testrun!

+

Welcome to Testrun!

The application is ready to run the testing process for your devices. Here is a list of links you could find valuable: diff --git a/modules/ui/src/app/components/version/version.component.ts b/modules/ui/src/app/components/version/version.component.ts index debfd3dca..193ac52b6 100644 --- a/modules/ui/src/app/components/version/version.component.ts +++ b/modules/ui/src/app/components/version/version.component.ts @@ -106,10 +106,11 @@ export class VersionComponent implements OnInit, OnDestroy { const dialogRef = this.dialog.open(ConsentDialogComponent, { ariaLabel: 'Welcome to Testrun modal window', data: dialogData, - autoFocus: true, + autoFocus: 'first-heading', hasBackdrop: true, disableClose: true, panelClass: 'consent-dialog', + ariaModal: true, }); dialogRef