You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
audit: report controls that share one accessible name #4762
audit treats any nonempty name as valid. When several controls on one screen share one name, for example three buttons named "Save", a screen-reader user cannot tell them apart, and an agent cannot match a finding to one element by name (see help accessibility step 3).
Scope
Add a finding kind ambiguous-name in packages/capture-kit/src/snapshot/snapshot-audit.ts: two or more evaluated controls with the same role and the same normalized accessible name on the current screen.
Report one finding per affected control, with a detail that names the shared label and the count.
Severity: warning. Guidance line: give each control a unique label that names its target, for example "Save Lemon Herb Rice".
Exclusions: system bars and keyboard keys (existing rules); controls whose names differ only by case or surrounding whitespace count as the same.
Update contracts types, command-output text, commands.md, and the audit help.
Acceptance
Unit tests: three "Save" buttons produce three findings; "Save Lemon Herb Rice" and "Save Tomato Pasta" produce none; a "Save" button and a "Save" link (different roles) produce none.
No device run required: pure snapshot function and output formatting.
The issue proposes adding a new audit finding kind, ambiguous-name, with concrete scope, exclusions, severity, and acceptance tests, rather than reporting existing broken behavior.
Activity
apex-sentinel-staging commentedon Nov 19, 2026
Apex Sentinel · Issue review
Suggested label:
featureThe issue proposes adding a new audit finding kind, ambiguous-name, with concrete scope, exclusions, severity, and acceptance tests, rather than reporting existing broken behavior.