Skip to content
Snippets Groups Projects
Commit ac921e21 authored by Pierre Ecarlat's avatar Pierre Ecarlat
Browse files

test validatePage update

parent 5bd5caec
No related branches found
No related tags found
1 merge request!985fix: nvda focus
Pipeline #123934 passed
<div class="orientation" aria-live="polite" cdkTrapFocus [cdkTrapFocusAutoCapture]="true">
<h1 class="sr-only" id="pageTitle" tabindex="-1">Orientation</h1>
<h1 class="visually-hidden" id="pageTitle" tabindex="-1">Orientation</h1>
<div *ngIf="!isLogged" class="notConnected">
<img src="../../assets/form/profileSkip.svg" alt="" />
......
......@@ -179,6 +179,9 @@ export class OrientationFormViewComponent implements OnInit, AfterContentChecked
public validatePage(event: boolean): void {
this.isPageValid = event;
setTimeout(() => {
this.pageTitleElement.nativeElement.focus();
}, 100);
}
public setFailedOrientation(): void {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment