Skip to content

Commit

Permalink
[FEATURE] #97667 - Add keyboard support for Multiselect
Browse files Browse the repository at this point in the history
As this manual is for editors, the different types are explained by screenshots where the keyboard commands can be used.

Resolves: TYPO3-Documentation/Changelog-To-Doc#412
Releases: main, 12.4
  • Loading branch information
brotkrueml committed Apr 7, 2024
1 parent 2c39308 commit 7c4a18b
Show file tree
Hide file tree
Showing 8 changed files with 112 additions and 6 deletions.
61 changes: 57 additions & 4 deletions Documentation/HelpInside/KeyboardCommands/Index.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
.. include:: /Includes.rst.txt
.. include:: /Includes.rst.txt

.. _keyboard_commands:
.. _keyboard_commands:

=================
Keyboard Commands
Keyboard commands
=================

Navigating the Page Tree using a keyboard
.. contents::
:local:

Navigating the page tree using a keyboard
=========================================

It is possible to navigate the page tree using only a keyboard and it adheres to
Expand All @@ -20,6 +23,7 @@ the guidelines set out in `WAI-ARIA Authoring Practices 1.1. <https://www.w3.org
* :kbd:`Right` arrow key will expand the focus if possible.
* :kbd:`Left` arrow key will close the focus if possible.


Editing text in the Rich Text Editor (RTE)
==========================================

Expand Down Expand Up @@ -48,6 +52,7 @@ text in TYPO3's :ref:`RTE <rte>`.
* :kbd:`cmd (⌘)` + :kbd:`i` = Italic
* :kbd:`cmd (⌘)` + :kbd:`b` = Bold


Reloading pages and clearing browser cache
==========================================

Expand All @@ -63,6 +68,7 @@ Reloading pages and clearing browser cache
* :kbd:`cmd (⌘)` + :kbd:`r` = Reload page
* :kbd:`cmd (⌘)` + :kbd:`option (⌥)` + :kbd:`r` = Reload page and clear browser cache


Opening the backend search modal
================================

Expand All @@ -77,3 +83,50 @@ Opening the backend search modal
.. group-tab:: macOS

* :kbd:`cmd (⌘)` + :kbd:`k`


Multiselect in content elements
===============================

.. versionadded:: 12.3

The keyboard commands can be used on a select element:

.. figure:: /Images/ManualScreenshots/ContentElements/SelectMultipleSideBySide.png
:alt: A multiselect element
:class: with-shadow

A multiselect element

Or a folder element:

.. figure:: /Images/ManualScreenshots/ContentElements/Folder.png
:alt: A folder element
:class: with-shadow

A folder element

Or a group element:

.. figure:: /Images/ManualScreenshots/ContentElements/Group.png
:alt: A group element
:class: with-shadow

A group element

Selecting and deselecting options with the keyboard:

* :kbd:`enter` = Add options, either from right to left or left to right
* :kbd:`delete` or :kbd:`backspace` = Remove an option for Windows and Mac users
* :kbd:`alt` + :kbd:`arrow up` = Move the option one up
* :kbd:`alt` + :kbd:`arrow up` = Move the option one up
* :kbd:`alt` + :kbd:`arrow down` = Move the option one down
* :kbd:`alt` + :kbd:`shift` + :kbd:`arrow up` = Move the option to the top
* :kbd:`alt` + :kbd:`shift` + :kbd:`arrow down` = Move the option to the bottom

More combinations:

* :kbd:`shift` + :kbd:`arrow up` = Include the upper option
* :kbd:`shift` + :kbd:`arrow down` = Include the lower option
* :kbd:`home` = Move the cursor to the top
* :kbd:`end` = Move the cursor to the bottom
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
.. include:: /Includes.rst.txt
.. include:: /Includes.rst.txt

.. _keyboard_commands:
.. _keyboard_commands:

=======================
Клавиатурные сокращения
=======================

.. contents::
:local:

Навигация по дереву страниц с помощью клавиатуры
================================================

Expand All @@ -19,6 +22,7 @@
* :kbd:`Вправо` клавиша со стрелкой по возможности разворачивает фокус.
* :kbd:`Влево` клавиша со стрелкой по возможности сворачивает фокус.


Редактирование текста с форматированием в редакторе Rich Text Editor (RTE)
==========================================================================

Expand Down Expand Up @@ -46,6 +50,7 @@
* :kbd:`cmd (⌘)` + :kbd:`i` = Курсив
* :kbd:`cmd (⌘)` + :kbd:`b` = Жирный


Перезагрузка страниц и очистка кэша браузера
============================================

Expand All @@ -61,6 +66,7 @@
* :kbd:`cmd (⌘)` + :kbd:`r` = Перезагрузка страницы
* :kbd:`cmd (⌘)` + :kbd:`option (⌥)` + :kbd:`r` = Перезагрузка страницы с очисткой кэша браузера


Opening the backend search modal
================================

Expand All @@ -75,3 +81,50 @@ Opening the backend search modal
.. group-tab:: macOS

* :kbd:`cmd (⌘)` + :kbd:`k`


Multiselect in content elements
===============================

.. versionadded:: 12.3

The keyboard commands can be used on a select element:

.. figure:: /Images/ManualScreenshots/ContentElements/SelectMultipleSideBySide.png
:alt: A multiselect element
:class: with-shadow

A multiselect element

Or a folder element:

.. figure:: /Images/ManualScreenshots/ContentElements/Folder.png
:alt: A folder element
:class: with-shadow

A folder element

Or a group element:

.. figure:: /Images/ManualScreenshots/ContentElements/Group.png
:alt: A group element
:class: with-shadow

A group element

Selecting and deselecting options with the keyboard:

* :kbd:`enter` = Add options, either from right to left or left to right
* :kbd:`delete` or :kbd:`backspace` = Remove an option for Windows and Mac users
* :kbd:`alt` + :kbd:`arrow up` = Move the option one up
* :kbd:`alt` + :kbd:`arrow up` = Move the option one up
* :kbd:`alt` + :kbd:`arrow down` = Move the option one down
* :kbd:`alt` + :kbd:`shift` + :kbd:`arrow up` = Move the option to the top
* :kbd:`alt` + :kbd:`shift` + :kbd:`arrow down` = Move the option to the bottom

More combinations:

* :kbd:`shift` + :kbd:`arrow up` = Include the upper option
* :kbd:`shift` + :kbd:`arrow down` = Include the lower option
* :kbd:`home` = Move the cursor to the top
* :kbd:`end` = Move the cursor to the bottom
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7c4a18b

Please sign in to comment.