Closed Bug 1527691 Opened 5 years ago Closed 2 years ago

Can tab into disabled inputs

Categories

(Core :: Layout: Form Controls, defect)

65 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
102 Branch
Tracking Status
firefox102 --- verified
firefox103 --- verified

People

(Reporter: scottaohara, Assigned: emilio)

References

()

Details

(Keywords: testcase)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0

Steps to reproduce:

When using 65.0 (mac and PC) certain disabled form controls can unexpectedly receive keyboard focus.

Actual results:

For inputs such as type=time or type=date, focus still enters the sub-fields of these inputs, even though the input element has the disabled attribute.

Expected results:

Focus should not have entered the disabled inputs and instead followed the focus order of:

  1. text field
  2. focus test 1 button
  3. focus test 2 button
  4. focus test 3 button
Status: UNCONFIRMED → RESOLVED
Has STR: --- → yes
Closed: 5 years ago
Component: Untriaged → Layout: Form Controls
Keywords: testcase
Product: Firefox → Core
Resolution: --- → DUPLICATE

Number (bug 1368087) works now since that is just a text input, but date/datetime doesn't. I can take a look.

Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(emilio)
Resolution: DUPLICATE → ---
Flags: needinfo?(emilio)

They're not focusable with mouse already.

Assignee: nobody → emilio
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/8f2ec80adf9a
Disabled datetimebox inner elements shouldn't be tabbable. r=Gijs
Status: REOPENED → RESOLVED
Closed: 5 years ago2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
Flags: qe-verify+

Managed to reproduce the issue on an older version of Nightly (2019-02-13) using macOS 10.15.
Retested everything on the same platform using Firefox 102.0b3 and Nightly 103.0a1. The issue is not reproducing anymore.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
See Also: → 1772841
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: