1Password data-1p-ignore Test

This is an in-depth test table for the data-1p-ignore attribute. All test conditions are currently working as expected. This information is current as of March 2nd, 2024 (2024-03-02) using Windows 10 on Chrome v121 and 1Password browser plugin v2.21.0. For more general information about data-1p-ignore, go to https://www.comter.codes/data-1p-ignore/.

Attribute Set Type=Text Type=Password
data-1p-ignore
Not Set
<input type="text">(This form field should show 1Password suggestions as data-1p-ignore is not set.) <input type="password">(This form field should show 1Password suggestions as data-1p-ignore is not set.)
None <input type="text" data-1p-ignore> <input type="password" data-1p-ignore>
Name <input type="text" name="username" data-1p-ignore> <input type="password" name="password" data-1p-ignore>
ID <input type="text" id="username" data-1p-ignore> <input type="password" id="password" data-1p-ignore>
Name & ID <input type="text" name="username" id="username" data-1p-ignore> <input type="password" name="password" id="password" data-1p-ignore>
Wrapped w/ Label <label><input type="text" name="username" data-1p-ignore><label> <label><input type="password" name="password" data-1p-ignore><label>
Name w/ ID
Set To other
<input type="text" name="username" id="other" data-1p-ignore> <input type="password" name="password" id="other" data-1p-ignore>
Name & ID
Set To other
<input type="text" name="other" id="other" data-1p-ignore> <input type="password" name="other" id="other" data-1p-ignore>
An additional test case exists: <textarea> when name or placeholder attribute is set to "username" or "email" (or anything containing "email" such as "email address").
Attribute Set To name= placeholder=
Nothing Set <textarea></textarea> <textarea></textarea>
username <textarea name="username" data-1p-ignore></textarea> <textarea placeholder="username" data-1p-ignore></textarea>
email <textarea name="email" data-1p-ignore></textarea> <textarea placeholder="email" data-1p-ignore></textarea>
email address <textarea name="email address" data-1p-ignore></textarea> <textarea placeholder="email address" data-1p-ignore></textarea>
(Credit to aalk for discovering that textarea doesn't work as expected when the name or placeholder is set to "username" or "email".) (Credit to yabdab for discovering a previously unknown bug and some of the test conditions that previously didn't work as expected.) (Thanks to @ag_michaelc from 1Password for fixing the previously failing test cases and to @steph.giles from 1Password for communicating the issue to the 1Password team.)