Closed Bug 1754783 Opened 3 years ago Closed 1 year ago

[FR][lvinted.fr] The autofill dropdown is not triggered and the autofill functionality is not working for the main address field

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox97 --- disabled
firefox98 --- disabled
firefox99 --- disabled

People

(Reporter: ailea, Unassigned)

References

(Blocks 2 open bugs, )

Details

Attachments

(1 file)

Attached video vinted general.mp4

Affected Versions:

Nightly 99.a1, Beta 98 and Release 97

Tested on:

MacOS 11
Windows 10

Preconditions:

browser.search.region FR
extensions.formautofill.addresses.enabled - true
extensions.formautofill.addresses.supported to "detect"
extensions.formautofill.addresses.supportedCountries US,CA,FR
download latest Firefox Nightly with region locale
have a complete address already saved in about:preferences#privacy

Steps to reproduce:

  1. Reach the address form on vinted.fr
  2. Using the autofill feature, select 1 saved address entry from the autofill dropdown.

Expected Results:

  1. The address autofill dropdown should be displayed for all fields.
  2. All the fields should be successfully auto-filled.
  3. The first row of the address (from about:preferences) should be auto-filled in the "N et nom de rue" field and the second row in the Adresse ligne 2 (facultatif) field.
  4. City field should be highlighted with the autofill specific yellow color.

Actual Results:

  1. The address autofill dropdown is not displayed for "N et nom de rue" field.
  2. The "N et nom de rue" field is not auto-filled.
  3. The complete address is auto-filled in the Adresse ligne 2 (facultatif) field and the "N et nom de rue" field is not auto-filled at all (Chrome separates the address accordingly, see the video attached).
  4. City field is not highlighted with the autofill specific yellow color.

Notes:

  1. Reproducible on Chrome: No
    Please let me know if separate bugs are needed for the issues described above.
  • For the clear form issue please see bug 1753710. Randomly the clear form option is displayed and it works ok.
Summary: The autofill dropdown is not triggered and the autofill functionality is not working for the main address field → [FR][lvinted.fr] The autofill dropdown is not triggered and the autofill functionality is not working for the main address field

This is reproducible on the English version of the vinted site (vinted.com). The issue is a combination of our heuristics for determining the autocomplete information for an element and their markup not having autocomplete attributes. For example, the address line inputs have an id of "line1" and "line2" and no autocomplete attributes. Because of this, we can't parse the autocomplete attribute to determine which fields these should map to so we rely on our heuristics.

The quick fix is to add "line1" and "line2" to our heuristicsRegexp.js for address-line1 and address-line2. This will allow autofill to work as expected, but the longer term fix is to increase awareness and understanding of the "autocomplete" attributes so web developers will know autocomplete will work as expected on their sites which should make users' experience on the site better.

Priority: -- → P3

Closing as worksforme since the issue described here is no longer reproducible in Nightly 125.0a1 (2024-03-01).

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: