feat(audit): report controls that share one accessible name
Summary
audit treated any nonempty name as valid. Three buttons named "Save" looked fine, so a screen-reader user and an agent could not tell them apart.
This adds the ambiguous-name finding kind. Two or more evaluated controls of one role that share one accessible name on the captured screen each report a warning. The detail gives the shared label and the count. Names that differ only by case or surrounding whitespace count as one name. Controls of different roles may still share a name. System bars and keyboard keys stay excluded, and the existing wrapper collapse keeps a duplicated control silent.
Touched files: 10. Scope stayed in the audit owner plus its contracts, output, help, and docs. No device-facing behavior changed, so no device run was needed.
agent-device audit
# @e4 ambiguous-name button "Save" Name shared by 3 controls of this role
--json adds the kind to findings[].kind and guidance, with detail: { name, count }.
Closes #4762
Validation
Tested SHA: c5878c86c32ea843ea40f25ce937a966796443ec
pnpm check:affected --run passed with exactCommit=true: format, lint, typecheck, layering, fallow, build, vitest-related, unit, command-docs, docs-links, docs-prose. Web smoke, replay and Linux lanes stay GitHub-authoritative.
The new capture-kit and command-output tests fail on the base and pass at this head. Provider integration for ios-audit and android-audit passes locally; the iOS clean-screen fixture now names its two buttons differently, since it must prove "no findings".
No unresolved risks.
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.