Skip to content
Snippets Groups Projects
Commit b36add4b authored by Andre Lammers's avatar Andre Lammers Committed by andre96
Browse files

Add focus to live-announcer button after cookie dialog

parent 99370301
No related merge requests found
...@@ -31,6 +31,9 @@ export class CookiesComponent implements OnInit { ...@@ -31,6 +31,9 @@ export class CookiesComponent implements OnInit {
acceptCookies() { acceptCookies() {
localStorage.setItem('cookieAccepted', 'true'); localStorage.setItem('cookieAccepted', 'true');
this.dialogRef.close(); this.dialogRef.close();
setTimeout( () => {
document.getElementById('live_announcer-button').focus();
}, 500);
} }
exitApp() { exitApp() {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment