Skip to content

[6.x] Use he-tree i18n prop for tree aria instructions#14499

Merged
jasonvarga merged 1 commit into6.xfrom
he-tree-aria-prop
Apr 16, 2026
Merged

[6.x] Use he-tree i18n prop for tree aria instructions#14499
jasonvarga merged 1 commit into6.xfrom
he-tree-aria-prop

Conversation

@jasonvarga
Copy link
Copy Markdown
Member

Updates @he-tree/vue to 2.10.5, which supports an i18n.instructions prop for the screen-reader instructions string instead of assigning ariaInstructions on the component instance after mount.

Replaces the workaround added in #14465 in PageTree.vue and preferences/nav/Edit.vue with :i18n="treeDraggableI18n" (computed from __('messages.tree_aria_instructions')).

Removes the .he-tree-sr-only Tailwind bridge in page-tree.css; newer he-tree renders that node with the sr-only class directly.

Made with Cursor

@jasonvarga jasonvarga merged commit b35851b into 6.x Apr 16, 2026
18 checks passed
@jasonvarga jasonvarga deleted the he-tree-aria-prop branch April 16, 2026 01:52
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