Skip to content

Opening a pin action fold leaves aria-expanded false #4423

Closed

Description

@leaf-agent

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

Affected cases:

  • tests/browser/controls/test_press_away.py::test_a_press_away_folds_a_pin_s_unfolded_actions

After opening the pin actions, the first expect(toggle).to_have_attribute("aria-expanded", "true") reads false for .lf-margin-cluster[data-lf-margin-for="s"] .lf-margin-more. The test stops before exercising press-away dismissal.

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 this same shared focus-transfer defect. I reproduced the first opening assertion on main with Chromium slowed 6×, then ran the unchanged test on that PR's exact head dbf607df6dcd30b9c6509343a1fe86ea8875655a: it passed, including drag retention, touch/mouse dismissal and keyboard Escape.

    Opening focuses Accept, but the departure reader mistakes temporary body focus during native touch activation for leaving the pin and folds it again. #4439 reads the completed transfer and ignores superseded departures, preserving failed-entry cleanup from #4406. I added the verification there and discarded my duplicate local repair. Its existing session owns CI and landing; this issue remains open until that repair 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