Skip to content

fix(aria/tabs): keep roving tabindex in sync when active tab changes programmatically - #34190

Open
crisbeto wants to merge 1 commit into
angular:mainfrom
crisbeto:34182/aria-tabs-tabindex
Open

crisbeto wants to merge 1 commit into
angular:mainfrom
crisbeto:34182/aria-tabs-tabindex

Conversation

@crisbeto

Copy link
Copy Markdown
Member

Fixes that if the active tab is set through the selectedTab input, we weren't syncing up the roving tabindex.

Fixes #34182.

@crisbeto
crisbeto requested a review from ok7sai November 26, 2026 09:31
@crisbeto crisbeto added the target: patch This PR is targeted for the next patch release label Nov 26, 2026
@pullapprove
pullapprove Bot requested a review from andrewseguin November 26, 2026 09:31
@crisbeto
crisbeto force-pushed the 34182/aria-tabs-tabindex branch from d51a49e to facee56 Compare November 26, 2026 09:41
…programmatically

Fixes that if the active tab is set through the `selectedTab` input, we weren't syncing up the roving tabindex.

Fixes angular#34182.
@crisbeto
crisbeto force-pushed the 34182/aria-tabs-tabindex branch from facee56 to 5cedbdd Compare November 26, 2026 10:35
@crisbeto

Copy link
Copy Markdown
Member Author

I ended up tweaking the approach, because the previous one caused "changed after checked" errors internally.

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

area: aria/tabs target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(aria/tabs): programmatic selectedTab change does not move the roving tab stop after user interaction

2 participants