Home > Web Front-end > HTML Tutorial > Safari tabindex not working issue (error_html/css_WEB-ITnose

Safari tabindex not working issue (error_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:46:23
Original
1526 people have browsed it

I have a habit of using the keyboard. Login forms and the like are usually tabbed all the way through.

For example, if there is a form

<input name="username" type="text"><input name="password" type="text"><input name="rememberme" type="checkbox">
Copy after login

In Chrome and FireFox, even if the tabindex is not set, you can still use the tab key to go all the way.

Safari does not work, from username => password => . . . Then the tab cannot reach the checkbox.

I originally thought it was a tabindex problem, but after adding it, Safari still doesn’t work.

After some searching, I found the answer

The excerpt is as follows:

If you read the WebCore source you'll see that there is full support for the tabindex property for all sorts of different types of elements.To turn the feature on and tab to all types of form elements in Safari, go to the System Preferences keyboard shortcuts and check the "Turn on full keyboard access" check box.
Copy after login

Then. . . OK. . .

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template