Closed Bug 1843669 Opened 2 years ago Closed 2 years ago

Consider changing the default macOS focus behaviour to include links and form controls

Categories

(Core :: DOM: UI Events & Focus Handling, task)

task

Tracking

()

RESOLVED DUPLICATE of bug 1036966

People

(Reporter: morgan, Unassigned)

References

Details

STR:

  1. Load data:text/html,<select><option>hello</select><button>world</button><a href="mozilla.org">link</a>
  2. In macOS system preferences > keyboard > ensure the Keyboard Navigation toggle is off, and the same checkbox in about:preferences is unchecked
  3. Attempt to tab the loaded page

Currently:
the select and button are focusable but the link is not

With either the macOS or firefox setting enabled, links and controls are focusable.

On non-mac platforms, links and controls are focusable by default. Should we default this new firefox setting to "on" to standardise?

See Also: → 1844973
Component: Keyboard Navigation → DOM: UI Events & Focus Handling
Product: Firefox → Core
Blocks: 1036966

Based on dbolter's comment here I'm inclined to turn this on -- are there any objections? Anyone we should consult who I didn't NI?

Flags: needinfo?(jteh)
Flags: needinfo?(emilio)
Flags: needinfo?(dao+bmo)
Flags: needinfo?(ayeddi)

We should probably track this in a single place, this has been proposed a number of times: bug 1036966, bug 396534, bug 1231014, plus other dupes of bug 1036966.

Since bug 1036966 has more discussion, I propose to move this discussion there (duping this bug) and making the call in there, wdyt?

In general, I'm supportive of this, but historically Neil Deakin has had strong opinions about it. I'd recommend checking with him and also with Spohl, Markus Stange and the other Widget :: Cocoa peers, and probably Olli (smaug) too. For reference, there's precedent of changing the default for web content to deviate from macOS's behavior (in bug 1614658).

Might be worth sending a PSA (Intent to prototype or something) to dev-platform@, just in case I've missed someone?

Flags: needinfo?(emilio)
See Also: → 1614658

I'm supportive of this.

Flags: needinfo?(jteh)
Flags: needinfo?(kbryant)

Also supportive of this change -- can't think of any downsides, only upsides from a product perspective.

Flags: needinfo?(kbryant)

(In reply to Emilio Cobos Álvarez (:emilio) from comment #2)

We should probably track this in a single place, this has been proposed a number of times: bug 1036966, bug 396534, bug 1231014, plus other dupes of bug 1036966.

Since bug 1036966 has more discussion, I propose to move this discussion there (duping this bug) and making the call in there, wdyt?

In general, I'm supportive of this, but historically Neil Deakin has had strong opinions about it. I'd recommend checking with him and also with Spohl, Markus Stange and the other Widget :: Cocoa peers, and probably Olli (smaug) too. For reference, there's precedent of changing the default for web content to deviate from macOS's behavior (in bug 1614658).

Might be worth sending a PSA (Intent to prototype or something) to dev-platform@, just in case I've missed someone?

Sounds good, I'll send something out and ping those folks on slack :) Thank you!

(In reply to kbryant from comment #4)

Also supportive of this change -- can't think of any downsides, only upsides from a product perspective.

+1, I think all the users who are relying on a keyboard already have this pref on or would love to have it on or are using addons or extra software, but the users who are just starting using the keyboard and/or new to Fx users and/or engineers starting testing accessibility of their websites on macOS would be affected in a positive way. After all, it is expected to get to controls with a keyboard and this is what most if not all of the instructions would recommend (i.e. "check if you can Tab to all buttons" or similar).

My vote is to turn it on by default. Thank you, Morgan, for advocating for it!

Flags: needinfo?(ayeddi)

Okay, let's track this in bug 1036966.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1036966
Resolution: --- → DUPLICATE

(In reply to James Teh [:Jamie] from comment #3)

I'm supportive of this.

Me too.

Flags: needinfo?(dao+bmo)
No longer blocks: 1036966
You need to log in before you can comment on or make changes to this bug.