Packages: Update Ariakit to 0.4.39 - #82831
Merged
Merged
Conversation
🤖 PR meta 🤖📦 Bundle sizeSize Change: +3.79 kB (+0.05%) Total Size: 8.19 MB 📦 View Changed
⚡ PerformanceShow the resultsClient side metrics exclude the server response time. front-end-block-theme
front-end-classic-theme
media-processing
media-upload
post-editor
site-editor
|
ciampo
marked this pull request as ready for review
September 14, 2026 10:16
ciampo
requested review from
a team,
ellatrix,
gigitux,
ntsekouras,
oandregal and
tellthemachines
as code owners
September 14, 2026 10:16
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
mirka
approved these changes
Sep 14, 2026
ciampo
force-pushed
the
codex/deps-ariakit-react-0.4.39
branch
from
September 14, 2026 20:04
1380985 to
9fee8be
Compare
ciampo
enabled auto-merge (squash)
September 14, 2026 20:07
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Updates
@ariakit/reactfrom 0.4.37 to 0.4.39 in@wordpress/componentsand@wordpress/dataviews.This is a maintenance update. It does not add a Gutenberg API or intentional interface behavior.
The lockfile also updates Ariakit's internal packages:
react-components0.4.1 → 0.6.0,components0.1.10 → 0.1.12,react-store0.1.9 → 0.1.10,react-utils0.2.4 → 0.2.5,store0.1.8 → 0.1.9, andutils0.1.6 → 0.2.0.Upstream release span:
Why?
These releases improve cross-window event handling, disabled and keyboard interactions, composite item registration, popup remounting, and modal popup semantics. The 0.4.39 modal fallback also fixes roles for menu and listbox popups and improves modal menu naming. Gutenberg picks up these upstream patch fixes without changing its component contracts.
The update affects Ariakit-backed menus, tabs, tooltips, toolbars, composites, selection controls, and the DataViews filter search widget. Peer support remains unchanged at React 17, 18, and 19.
Upstream release audit
0.4.38
PointerEventfor Enter and Space activation on non-nativeCommandelements. The event comes from the element's owner window and is composed. This applies to Gutenberg's Menu items and triggers, Composite items, Radio controls, CustomSelectControl items, Tabs, Toolbar items, and Disclosure controls, including consumers rendered in an editor iframe.defaultView,activeElement,self,document, orownerDocument. This is relevant to Gutenberg's same-origin iframe canvases and form-heavy editor screens.disabledandaccessibleWhenDisabledcorrectly; and ComboboxItem and SelectItem hover callbacks no longer run while their widgets are closed. This applies to Gutenberg's Tabs, Menu, Tooltip, CustomSelectControl, and the DataViews search widget, which explicitly usesfocusOnHover.0.4.39
Menu.Popover, which is modal by default, and to Ariakit-backed selection popups when they are modal.autoSelectno longer leaves a stale highlighted option for one frame after filtering. Composite items honor the innermostaccessibleWhenDisabledvalue, and Composite no longer completes or replays stale movement after active-item changes or remounts. This applies to the DataViews filter search widget (autoSelect="always") and Gutenberg's Composite, Menu, and Toolbar components.aria-labelledbywhen its disclosure changes to an element without an ID. Gutenberg uses both composable patterns.The remaining 0.4.39 notes do not match a current Gutenberg configuration: this repository does not use Ariakit's nested ComboboxPopover/List grid pattern, ComboboxGroup or ComboboxRow, a changing Select
name, or a dynamically toggled Ariakitbackdropprop.No opt-in API is required for the relevant fixes. The repository has no Ariakit patch-package patch or dependency override. Existing local Menu focus-handoff and Tooltip
aria-describedbyaccommodations remain necessary because these releases do not address those contracts.How?
Updates both direct declarations and the shared lockfile. It also:
@ariakit/testis not updated or restored because it is no longer a direct dependency after #80995.Testing Instructions
Testing Instructions for Keyboard
Automated verification
@wordpress/componentstests across Menu, Tabs, TabPanel, Composite, CustomSelectControl, Toolbar, Tooltip, ColorPalette, GradientPicker, and DuotonePicker.@wordpress/dataviewstests. Three pre-existing tests remain skipped. The new filter integration test was also verified to fail when option selection was temporarily disconnected from the view update.trunkat887d7abce93with Ariakit 0.4.37 (201/201 tests). The separately added DataViews filter integration test was verified with Ariakit 0.4.39.Screenshots or screencast
Not applicable. This maintenance change does not intentionally change the interface.
Use of AI Tools
Codex authored the dependency analysis, implementation, tests, and pull request text. The author has not yet completed a manual review.