diff --git a/src/core/features/usertours/services/user-tours.ts b/src/core/features/usertours/services/user-tours.ts index 3afbe03c4..f497c07bb 100644 --- a/src/core/features/usertours/services/user-tours.ts +++ b/src/core/features/usertours/services/user-tours.ts @@ -127,6 +127,7 @@ export class CoreUserToursService { const tour = CoreDirectivesRegistry.require(element, CoreUserToursUserTourComponent); viewContainer?.setAttribute('aria-hidden', 'true'); + viewContainer?.setAttribute('tabindex', '-1'); this.toursListeners[options.id]?.forEach(listener => listener.resolve()); @@ -149,6 +150,8 @@ export class CoreUserToursService { const viewContainer = container.querySelector('ion-router-outlet, ion-nav, #ion-view-container-root'); viewContainer?.removeAttribute('aria-hidden'); + viewContainer?.removeAttribute('tabindex'); + } /**