-
In my canvas I have a big scene that is bigger than the canvas itself. With MapControls you can navigate over the scene. All over the scene there are objects you can click on and I want these objects to be accessible, so I wrapped each of them in the A11y component and added an action to them. Problem is that whenever I use the keyboard to 'tab' through the items it will navigate the HTML page to the button's location in the HTML, which causes the canvas to move and inaccessible, see screenshot. Does anyone know any way to make sure the canvas doesn't go outside of the screen? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
All I had to do was move the camera position and the target of the controls in the focusCall handler of the A11y component. |
Beta Was this translation helpful? Give feedback.
All I had to do was move the camera position and the target of the controls in the focusCall handler of the A11y component.