Repository navigation
fix(forms-specialist): treat placeholder on a labelled field as a duplicate name - #208
Open
chrisnestrud wants to merge 1 commit into
Open
chrisnestrud wants to merge 1 commit into
chrisnestrud wants to merge 1 commit into
Conversation
…licate name A field that has both a label and a placeholder exposes the placeholder as a second child node of the field in the accessibility tree, so JAWS and VoiceOver announce the name twice. Add a Placeholder Is Not a Label section, a FORM-003 finding, and a validation-checklist catch. Based on Chrome's accessibility tree and the Freedom Scientific standards-support tracker.
chrisnestrud
requested review from
accesswatch and
taylorarndt
as code owners
September 29, 2026 01:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A form field that has both an accessible name and a
placeholderexposes theplaceholder as a second child node of the field, so JAWS and VoiceOver announce
the name twice. The skill only warned against using a placeholder as the sole
label, not against leaving one on a field that already has a name.
What changed
skills/forms-specialist/references/labels-the-foundation.md: new"Placeholder Is Not a Label" section (WCAG 4.1.2 / 1.4.3) covering the
duplicate-name case and the described-help fix.
skills/forms-specialist/references/validation-checklist.md: new CommonMistakes entry.
skills/forms-specialist/SKILL.md: reference-list pointer text only, so thebody stays under its budget.
skills/forms-specialist/examples/findings.json: newFORM-003.CHANGELOG.md,skills/a11y-core/references/sources.md,docs/standards/source-registry.json.Source Citations
(placeholder on a labelled textarea) - https://github.com/freedomScientific/standards-support/issues
Verification
node scripts/verify.mjs --only spec,skills,conformance,budgets,findings,report,scanner,release,matrices,docs- all passnode .github/scripts/markdown-a11y-lint.mjs . --regression --baseline-ref main --fail-on error- cleanRefs #207