x-trap
is highlighting field contents on tab
#4455
-
Please see the modal example on this page: https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/examples/dialog/. If you fill out some fields and tab through them, only the focus changes. The field contents are never selected. Now try the same thing using the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is also the default behaviour of the browser when tabbing between input fields, see https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_test, try to put some text in both field and tab between the 2. The example you posted from w3.org works that way as well (Tested on Chrome on MacOS, other browser may behave in a different way). |
Beta Was this translation helpful? Give feedback.
This is also the default behaviour of the browser when tabbing between input fields, see https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_test, try to put some text in both field and tab between the 2.
The example you posted from w3.org works that way as well (Tested on Chrome on MacOS, other browser may behave in a different way).