Chapter: testability
Rule: duplicateName
Spec: Duplicate accessible name
Two controls share this name, so clicks and screen readers hit the first one. Nested items never get opened or mapped.
getByRole({ name }) returns the first match. Nested Settings, duplicate Save, or a list of identical row actions all collapse to one target.
This id is stable. Reports link here so T/V/Q classes do not shuffle when a soak ranks differently.