Skip to content

4.27.0

Latest

Choose a tag to compare

@bvaughn bvaughn released this 28 Nov 15:13
  • Workspace: add a keyboard move mode for tabs. - #858
    • Ctrl+M on a focused tab starts moving it: the arrow keys (and Home and End) choose where it can be moved (shown by the drop indicator), Enter moves it there, and Escape (or moving focus away) cancels.
    • Each step is announced by a visually hidden aria-live region; add the getKeyboardMoveAnnouncement prop (and the exported KeyboardMoveAnnouncementArgs type) to replace the default text, e.g. to translate it.
    • TabRenderProps now includes onBlur, and aria-keyshortcuts includes Control+M; custom tab elements should spread these props.