Skip to content

Commit

Permalink
Use the same drag handle aria description as in dashboard components
Browse files Browse the repository at this point in the history
  • Loading branch information
jperals committed Mar 16, 2023
1 parent 28be3ce commit 0997f19
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pages/common/i18n-strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ export const collectionPreferencesI18nStrings: CollectionPreferencesProps.Visibl
liveAnnouncementDndItemCommitted: (initialPosition, finalPosition, total) =>
`Item moved from position ${initialPosition} to position ${finalPosition} of ${total}`,
dragHandleAriaDescription:
'To pick up a draggable item, press space or enter. \n' +
'While dragging, use the arrow keys to move the item in any given direction.\n' +
'Press space or enter again to drop the item in its new position, or press escape to cancel.',
'Use Space or Enter to activate drag, arrow keys to move, Space or Enter to submit, or Escape to discard.',
dragHandleAriaLabel: 'Drag handle',
};

0 comments on commit 0997f19

Please sign in to comment.