Skip to content

fix: skip ineligible observed-element duplicates - #613

Open
Amber (YuanboXue-Amber) wants to merge 1 commit into
microsoft:masterfrom
YuanboXue-Amber:users/yuanboxue/observed-element-eligible-duplicates
Open

Amber (YuanboXue-Amber) wants to merge 1 commit into
microsoft:masterfrom
YuanboXue-Amber:users/yuanboxue/observed-element-eligible-duplicates

Conversation

@YuanboXue-Amber

@YuanboXue-Amber Amber (YuanboXue-Amber) commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Fix observed-element lookup to skip ineligible duplicates and return the first eligible match. Apply accessibility filters to deferred waits, with five regression cases and updated docs.

Validation: 27 observed-element/cross-origin tests and 23 shadow DOM tests passed; build, type-check, lint, and formatting passed.

Check all observed registrations for the requested accessibility, including deferred waits. Cover duplicate lookup and immediate or late focus delivery in browser regressions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
tabster
all exports
110.948 kB
30.14 kB
110.957 kB
30.152 kB
9 B
12 B
tabster
getCrossOrigin
107.881 kB
29.426 kB
107.89 kB
29.439 kB
9 B
13 B
tabster
getObservedElement
44.334 kB
13.138 kB
44.343 kB
13.149 kB
9 B
11 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
tabster
createTabster (core)
38.569 kB
11.569 kB
tabster
focusable.findAll
38.592 kB
11.577 kB
tabster
focusable.findLast
38.593 kB
11.577 kB
tabster
focusable.findNext
38.593 kB
11.577 kB
tabster
focusable.findPrev
38.593 kB
11.577 kB
tabster
getDeloser
47.93 kB
13.853 kB
tabster
getGroupper
45.671 kB
13.236 kB
tabster
getModalizer
47.596 kB
13.995 kB
tabster
getMover
53.128 kB
15.489 kB
tabster
getOutline
47.204 kB
13.807 kB
tabster
getRestorer
41.154 kB
12.166 kB
🤖 This report was generated against cc60426d5ab690bc33f01fb39144f2afd9d3ef0e

@YuanboXue-Amber
Amber (YuanboXue-Amber) marked this pull request as ready for review November 12, 2026 12:30

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant