Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

Field Name

← Back to Glossary
By NHI Mgmt Group Updated October 31, 2026 Domain: Authentication, Authorisation & Trust

A field name is the identifier a webpage uses for an input box in its underlying HTML. Password managers rely on that identifier, or related attributes such as name, id, aria-label, or placeholder, to understand where each stored value should be inserted during autofill.

What a field name does in the browser

A field name is the browser-facing label a webpage uses to identify an input. Password managers use that identifier, along with nearby attributes such as name, id, aria-label, or placeholder, to decide which saved value belongs in which box during autofill.

In practice, the field name is part of the page’s machine-readable structure, not the human-friendly text a user sees. That distinction matters because autofill works by matching form semantics, not by reading the visual layout alone.

Why field names matter for autofill accuracy

Field names help a password manager distinguish between similar inputs, such as username and email, shipping and billing addresses, or a current-password box and a new-password box. If the naming is ambiguous, autofill can place the wrong value in the wrong field, which can break sign-in or cause a form submission error.

Well-chosen field names also improve consistency across browsers and assistive technologies. A stable identifier gives automation a reliable way to recognize the intent of an input even when the page design changes.

How field names are used in page markup

In HTML, the field name may appear directly in the name attribute, or it may be inferred from surrounding labels and related metadata. Password managers typically combine several signals, because a single attribute is not always enough to understand the purpose of an input.

That is why the same visible form can behave differently across sites: one page may expose clear semantic cues, while another may rely on vague placeholders or generic IDs. The more descriptive the markup, the easier it is for software to map saved data to the correct destination.

When field names become a security and usability issue

Field naming problems are often subtle. If a login form uses generic or inconsistent identifiers, autofill may misclassify fields, fail to populate them, or insert sensitive data into an unintended input. That can create user friction and, in some cases, expose secrets where they were not expected to appear.

Field names also sit at the boundary between convenience and control. A page that exposes clear form semantics makes it easier for password managers to do the right thing, but it also makes automated filling more predictable, which is useful only when the page is genuinely trustworthy.

Risk and Threat Considerations

Field names are not just a developer convenience, they influence whether password managers place credentials into the right element. When naming is ambiguous or deceptive, autofill can misfire, and that can lead to login failure, accidental disclosure into the wrong field, or easier abuse of a form that is poorly structured.

Failure mechanism: The page’s semantic cues are weak, inconsistent, or intentionally misleading, so the autofill engine matches the wrong input or withholds a value that the user expected it to insert.

Impact: Users may enter credentials manually, paste secrets into the wrong place, or trust a form that is harder for software to interpret, increasing the chance of authentication errors and unsafe data entry.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST SP 800-53 Rev 5, OWASP ASVS and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5AC-7 — Unsuccessful Logon AttemptsLogin forms with confusing fields can drive repeated failed authentication attempts.
Recommendation — Harden authentication flows to reduce failed submissions and lockout abuse.
OWASP ASVSV6 — AuthenticationField semantics directly affect how authentication inputs are identified and processed.
Recommendation — Verify login forms expose clear, consistent authentication field semantics.
CIS Controls v8CIS-16 — Application Software SecuritySecure form design and predictable input handling are part of application security hygiene.
Recommendation — Review form markup so authentication inputs are labeled and processed consistently.

Practitioner Guidance

Why practitioners should care: Field names are a small implementation detail with outsized effects on login reliability and password-manager behavior. If your forms are part of an authentication flow, treat semantic clarity as part of the user experience and the security posture.

What to watch for: Reused generic names, inconsistent labels, placeholder-only instructions, and hidden or dynamic inputs that change meaning across states can all confuse autofill and accessibility tooling.

Practitioner takeaway: Use stable, descriptive form semantics so humans and automation interpret the same field the same way.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 31, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org