identical-iframes-same-purpose
Frames with the same name embed the same resource
Checks that <iframe>/<frame> elements sharing an accessible name embed the same resource, since one name can only describe one resource.
Applies to. Applies to each set of two or more <iframe>/<frame> elements that are included in the accessibility tree and share the same non-empty accessible name, compared with whitespace collapsed. A frame named only by a mechanism that names nothing, or hidden from the accessibility tree, is not part of a set; a set needs two surviving members to exist at all.
Expectation. Every frame in a set resolves to the same resource. A shared name describes one resource, so two frames answering to it must embed the same one.
Examples
<iframe title="Weather widget" src="https://example.test/weather"></iframe><iframe title="Weather widget" src="https://example.test/weather"></iframe>
Both frames share the name "Weather widget" and embed the same resource.
<iframe title="Weather widget" src="https://example.test/weather?city=nyc"></iframe><iframe title="Weather widget" src="https://example.test/weather?city=sf"></iframe>
Both frames share the same name but resolve to different resources — possibly two legitimately equivalent widgets, possibly a mislabeled frame; the markup alone doesn't settle it.