Contact Form — Phone Number Field
WCAG 1.3.1 Info and Relationships (Level A)
Issue
The phone number input field has no associated accessible label. The visible label text "Phone Number" is positioned nearby but is not programmatically linked to the input.
Potential barrier
Screen reader users hear only "edit text" when navigating to this field — they receive no information about what data is expected. The form cannot be completed independently.
Affected users
- Screen reader users (NVDA, JAWS, VoiceOver)
- Users relying on voice input software (Dragon NaturallySpeaking)
Recommended remediation
Associate the label with the input using a matching `for`/`id` pair. Add `autocomplete="tel"` and an optional hint span linked via `aria-describedby` to describe the expected format.
Before (issue)
<label>Phone Number</label>
<input type="tel" placeholder="(305) 555-0100" />After (fix)
<label for="phone">Phone Number</label>
<input type="tel" id="phone"
name="phone"
autocomplete="tel"
placeholder="(305) 555-0100"
aria-describedby="phone-hint" />
<span id="phone-hint" class="hint">
Format: (xxx) xxx-xxxx
</span>