{
  "schema": "vedokrok.public-item.v1",
  "release_id": "MHC-RPUB-20260920-75ad787a",
  "url": "/knowledge/keep-the-field-s-identity-after-the-user-starts-typing",
  "id": "MHC-D-RESEARCH-1103",
  "version": "0.1.0",
  "title": "Keep the field’s identity after the user starts typing",
  "summary": "A field should not lose its name when it receives an answer.",
  "kind": "protocol",
  "body": "Give each control an appropriate label and associate it programmatically with that control. Use help text for format or context rather than asking the placeholder to do every job. Check the filled-in state, not only the empty mockup.",
  "limits": [
    "Some controls have context-specific labelling patterns. A technical label association alone does not make confusing wording clear."
  ],
  "topics": [
    "accessible-workflows-50"
  ],
  "intents": [],
  "source_ids": [
    "RS-2D9BD74385B2CA55"
  ],
  "evidence": [
    {
      "claim": "WAI guidance describes associating labels with form controls and warns against relying on placeholder text as a replacement for labels.",
      "source_id": "RS-2D9BD74385B2CA55",
      "role": "supports",
      "note": "A programmatic label and a usable visible instruction solve related but distinct needs.",
      "locator": "Associating labels and placeholder discussion."
    }
  ],
  "use_when": [
    "A form looks clean until its placeholder disappears."
  ],
  "avoid_when": [
    "Some controls have context-specific labelling patterns. A technical label association alone does not make confusing wording clear."
  ],
  "example": "A Date field keeps its label and format instruction visible after the user enters a value that needs correction.",
  "check": "Can the user identify the requested information without clearing the field or remembering a vanished hint?",
  "steps": [
    "Identify what information each field requests in ordinary language.",
    "Keep its label available and connect it to the control in the implementation.",
    "Test the field with existing content, an error and assistive technology."
  ],
  "sources": [
    {
      "id": "RS-2D9BD74385B2CA55",
      "title": "Labeling Controls",
      "url": "https://www.w3.org/WAI/tutorials/forms/labels/"
    }
  ],
  "relations": [
    {
      "from": "MHC-D-RESEARCH-1103",
      "to": "MHC-D-RESEARCH-1104",
      "type": "useful_with",
      "url": "/knowledge/make-the-error-show-the-next-repair"
    }
  ],
  "collections": [
    {
      "id": "RC-F151F4A278F577C4",
      "title": "Make the task usable across different ways of accessing it",
      "url": "/collections/make-the-task-usable-across-different-ways-of-accessing-it"
    }
  ]
}
