You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_a_tab_strip_is_named_as_the_chrome_names_its_set: a root tab strip lost the page title as its name after #6264 #6290
tests/browser/widgets/test_tabs.py::test_a_tab_strip_is_named_as_the_chrome_names_its_set fails deterministically on main since #6264 (97adb94b3). It first failed in push run 44050787850, on 502a53b7c, and it still fails at 2aabb5436.
AssertionError: Locator expected to have count '1'
get_by_role("tablist", name="Redo the kitchen", exact=True) → 0 elements
The test writes <h1>Redo the kitchen</h1> followed by a top-level <lf-tabs id="views">, and expects the page's navigation strip to take the page's title as its name. The Finishes (a section's heading) and Handles (aria-label) strips still pass.
Bracketing: the test passes at 965a232fa, the commit just before #6264, and fails at 97adb94b3, #6264's own commit (local runs, node id only).
Diagnosis so far:#6264 narrowed naming so that only a section, an article, an <hgroup> or a disclosure takes a name from its caption, and "no other plain element is named by a heading inside it". The tab strip's name for a root set seems to have read the page's leading <h1> through the rule that #6264 removed. What's left to decide is whether a root strip should still be named by the page title, through the page's own title source rather than the removed walk, or whether the test's expectation should change to the new rule. Either way the fix should follow #6264's intent. #6283, now open, puts declared ARIA names ahead of the opening heading. It doesn't touch this case.
Fix is in #6294. The root strip still asked addressableLabel(main) for its name. Since #6264, main has no name of its own, so the strip ended up named by main's words run together ("Redo the kitchen Plan Costs Cabinets first. Under budget.…"), which screen readers would read out. The strip now takes the page's authored <title> through authoredTitle(), which widget-api.js now exports. #6264's rule stays as it is, and the test expects the <title> ("Kitchen plan") in place of the <h1>. The test fails on main and passes on the branch. The PR's CI and landing are handed to tend-land.
Activity
leaf-agent commentedon Nov 17, 2026
Fix is in #6294. The root strip still asked
addressableLabel(main)for its name. Since #6264,mainhas no name of its own, so the strip ended up named bymain's words run together ("Redo the kitchen Plan Costs Cabinets first. Under budget.…"), which screen readers would read out. The strip now takes the page's authored<title>throughauthoredTitle(), whichwidget-api.jsnow exports. #6264's rule stays as it is, and the test expects the<title>("Kitchen plan") in place of the<h1>. The test fails onmainand passes on the branch. The PR's CI and landing are handed to tend-land.