docs(help): match audit findings to the snapshot by element name

Merged
TH
8d ago
+6-4

Summary

#4652 made audit print each finding's element name. help accessibility (step 3) and the help dogfood Platform checks still told agents to find the element by role and position. This PR changes both to the element name that audit prints. A missing-name finding has no name, so the help keeps role and rect for that case.

  • Touched file: src/commands/schema/cli-help-workflows.ts. No runtime change.

Validation

  • Tested SHA: bdcef77e9daff60a4668b23eccdd1ad6d9b95de8.
  • pnpm check:affected --run: all runnable checks passed.
  • vitest run src/commands/schema: 114 passed.
  • pnpm bench:help-conformance --case accessibility-review --runner claude:sonnet --repeat 3: 3/3. One earlier run scored 2/3 because the model added --settle to find, which find does not support. That is unrelated to this wording.
  • Docs and help text only. No device run applies.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.