Jason Morris's Avatar

Jason Morris

@jasonmorris.com

front-end dev, digital accessibility, bikes, tinkering

35
Followers
35
Following
6
Posts
24.02.2024
Joined
Posts Following

Latest posts by Jason Morris @jasonmorris.com

With you on time and with full understanding of how SFN(SP) works πŸ™‚ β€œLost” doesn’t presume permanence. SFNSP here makes the *next* move work. Sticking with β€˜tabindex=β€œ-1”’ on a non-interactive target makes the the *current* move work.

06.03.2026 10:23 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

You're absolutely right that `:target` does work in that scenario, as you mentioned in the article. Default focus indicators do not, though. Sounds like needing to add `:target` CSS to provide a visual indicator so that the HTML can avoid having an attribute. Feels less robust, no?

05.03.2026 17:07 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Bypass link and tabindex test ...

I did read the post, in full, Manuel. I appreciate the length you went to, to test this. To illustrate that it is a loss of focus, you can watch `document.activeElement`. Here's a quick CodePen that shows that value in the corner: codepen.io/jsnmrs/pen/K.... You're right about `:target`.

05.03.2026 16:51 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

From a sighted keyboard user perspective, the need to press tab after following a link sometimes and not others to have an indication of where focus is, isn’t awesome.

04.03.2026 22:33 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

The explicit β€˜tabindex=β€œ-1”’ avoids that situation.

04.03.2026 21:44 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

The focus moves to the β€˜<body>’ before the additional tab moves focus to a logic location. It’s essentially a loss of focus until there is another interaction. What would a screen magnifier that follows focus do in that situation?

04.03.2026 21:42 πŸ‘ 1 πŸ” 0 πŸ’¬ 2 πŸ“Œ 0