When I keep pressing tab key, it only focuses through the form elements (like input
, button
) but not through anchor tags.
It was working fine in ver 5.0.5. This behavior is noticed in latest version 5.1.2.
Apple is making it possible for apps, including Safari and Mail, to filter out content based on your focus mode in iOS 16.
Setting the value to “-1” also allows you to programmatically enable tab focus. Say you have an element that you don't want focusable on page load but after some event, you'd like to be focusable—you'd use tabindex=“-1” and the “. focus()” function to add that behavior.
tabindex="0" means that the element should be focusable in sequential keyboard navigation, after any positive tabindex values and its order is defined by the document's source order.
If you go under the advanced preferences in Safari and check "Press Tab to highlight each item on a webpage" it works.
There are two ways for a user to fix this.
1. The main fix for this is to adjust the Accessibility options. Apple Menu > System Preferences > Keyboard > Shortcuts Tab > Full keyboard access: In windows and dialogs, press Tab to move the keyboard focus between: Choose the "All controls" radio button. This allows Safari, as well as other applications, to gain tab focus on buttons and other UI elements.
2. Additionally, you can adjust this in Safari's advanced preferences as noted in j08691's answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With