Skip to content

Commit 284c6fa

Browse files
committed
Allow ARIA instructions to be overwritten by an empty string
1 parent 2471dc9 commit 284c6fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/he-tree-vue/src/components/DraggableTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ const cpt = defineComponent({
493493
};
494494
// Accessibility: keyboard instructions
495495
this.ariaInstructions =
496-
this.i18n?.instructions ||
496+
this.i18n?.instructions ??
497497
"Use arrow keys to navigate. Alt plus arrow keys to reorder.";
498498

499499
this.treeDraggableInstance = extendedDND(rootEl, {

0 commit comments

Comments
 (0)