Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tab navigation not working in MacOS #406

Closed
1 of 2 tasks
sougiovn opened this issue Aug 31, 2021 · 1 comment · Fixed by #515
Closed
1 of 2 tasks

Tab navigation not working in MacOS #406

sougiovn opened this issue Aug 31, 2021 · 1 comment · Fixed by #515
Labels
help wanted Help is requested to fix this issue platform: macOS type: bug

Comments

@sougiovn
Copy link

Describe the bug
When navigating through the TAB button in a form, some elements are skipped:

  • input radio
  • input checkbox
  • button

Steps To Reproduce
Clone the snapshot/tabbing-behavior branch from repo

Install front-end dependencies with npm install and run the following commands in different terminal windows:

// runs the fron-end devServer
npm run dev

// runs the tauri app in dev mode
npm run tauri:dev

Follow this gif to setup the first steps which you'll just need to select a directory where you want the app to store your data, like sqlite database.
It will create a directory called consolidAcao in the directory you choose.
You may skip this step, first skip the gif.
tauri-tabindex-4

To skip the apps first steps, open the devtools in the console tab and run the following command in it:

location.href = 'http://localhost:8080/home'

You'll be redirected to the following page
image

Now you'll only need to press the TAB button from your keyboard and check that the input radio, input checkbox and button will never get focused.
(I added a CSS to outline in red the focused element).

All elements in this sample are using the atribute tabindex with a number greater than 0

Expected behavior
Be able to interact with any form control using TAB navigation.

Screenshots
Tabbing in Tauri instance
tauri-tabindex-1

Tabbing in Brave Browser
tauri-tabindex-2

Tabbing in Safari, after allowing tab navigation through System Preferences
tauri-tabindex-3

Platform and Versions (please complete the following information):
OS: Mac OS, version 11.5.0 X64
Rustc: 1.54.0
Node: v16.6.1

Would you assign yourself to resolve this bug?

  • Yes
  • No

Additional context
None

@m3h0w
Copy link

m3h0w commented Mar 1, 2022

Any prospects for resolving this bug? We've been developing an app in Tauri that relies on keyboard navigation without realizing this might be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Help is requested to fix this issue platform: macOS type: bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants