Skip to content

Retained margin action loses its accessible name after projection reordering #4427

Closed

Description

@leaf-agent

Push CI run 40478528673, on 35e5f418c9722f1ddfbac8d64303f40a408417c5, records this failure.

Affected cases:

  • tests/browser/margin/test_entries.py::test_lit_margin_projection_reorders_retained_controls_without_moving_the_user

The retained action locator [data-lf-margin-for="target"] [data-lf-margin-entry-key="a"] resolves to a button carrying aria-label="Action A now", but to_have_accessible_name("Action A now") reads an empty accessible name. The accessibility snapshot exposes Action B and More options, not Action A. Determine why the retained action is excluded before deciding whether the test or projection contract should change.

This report session read the deciding CI diagnostic; it did not reproduce locally or establish the introducing change. Reproduce on current main and inspect prior run results and the introducing change before choosing a repair. Preserve the change's intent and the user behavior, distinguishing an obsolete assertion from a product defect.

Cause of a failure tracked in #3985.

Activity

  1. added
    tend-ci-cause
    on Oct 27, 2026
  2. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    #4439 fixes the shared focus-transfer defect. #4406's departure microtask could observe temporary body focus between native blur and focus, fold the options, and exclude Action A from the accessibility tree even though its label remained correct. The fix reads after that transfer and discards superseded departures while preserving failed-arrival cleanup.

    The reported test failed before the correction and passes afterward, including the held press and label update. All 682 runtime tests pass. After merging current main and rebuilding the kernel, CI and review passed on c83b4f9c7a984d3f6b736758bc75b8c30f18b9b9. An independent tend-land run has claimed the verified PR and owns its merge; the PR closes this issue and the four related reports when it lands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions