Closed Bug 1955655 Opened 9 months ago Closed 8 months ago

Add regex expression for tel-country-code select elements

Categories

(Toolkit :: Form Autofill, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: janika, Assigned: janika)

References

Details

(Whiteboard: [fxcm-addr-compatibility])

Attachments

(1 file)

We currently only detect tel-country-code fields when autocomplete="tel-country-code" is explicitly set. On saje.ca (see Bug 1951890), a tel-country-code <select> element is misclassified as an address-level1 field due to address-like substrings in its attributes:

<select aria-label="Country/Region" name="phone_country_select">

Since such tel-country-code select elements are common in address forms, we should extend our regex based heuristics to detect these cases more accurately.

Blocks: 1951890
Blocks: 1951926
Pushed by jneuberger@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/134627f4682d Add regex expression for tel-country-code select elements r=credential-management-reviewers,dimi
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: