]> _ Git - fluidbook-html5.git/commitdiff
wip #7547 @1
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 24 Jun 2025 16:41:27 +0000 (18:41 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 24 Jun 2025 16:41:27 +0000 (18:41 +0200)
js/libs/fluidbook/fluidbook.keyboard.js

index 07d5baa24dd2942081336cc8193ce49eb6026556..687ab1eef782a247534a1fe39cc4e6c7968b3985 100644 (file)
@@ -40,7 +40,12 @@ FluidbookKeyboard.prototype = {
                 $this.tabNavigation('.mview', dir);
                 e.preventDefault();
             } else {
-                $this.tabNavigationSections(['.audio-description-wrapper.left', '.audio-description-wrapper.right'], dir);
+                $this.tabNavigationSections(['#horizontalNav', '#menuOpener', //.
+                    '.audio-description-wrapper.left', '.audio-description-wrapper.right', //.
+                    '#links .leftContainer', '#links .rightContainer', //.
+                    '#next-arrows', '#prev-arrows', //.
+                    '#logo', //.
+                    '#credits',], dir);
                 e.preventDefault();
             }
         }, false, false);
@@ -97,6 +102,9 @@ FluidbookKeyboard.prototype = {
                 list.push(this);
             }
         });
+        if (list.length === 0) {
+            return false;
+        }
         return this._navigate(list, dir, ['focus'], loop);
     },