Skip to content
Commit cf0a2f7c authored by Felix Ernst's avatar Felix Ernst 🇺🇦 Committed by Felix Ernst
Browse files

Allow keyboard focus for toolbar actions

Visually-impaired users need to be able to trigger common actions
easily. Applications have a curated list of those on the toolbar,
but prior to this commit most of these buttons in most
applications would not accept keyboard focus in any way,
effectively prohibiting blind users from discovering or triggering
this curated list of actions.

If actions are only available from the toolbar, it could even be
possible that users who only use the keyboard would have no way of
triggering those actions at all. However, KDE design guidelines
typically encourage that those actions are also available through
a menu bar.

This commit fixes the above. Now all buttons on the toolbar will
get keyboard focus sooner or later when a user presses the Tab key
repeatedly.

As a side-effect this also means that the context menu of those
actions can also be opened by keyboard, because the Menu key will
open the context menu when such an action has keyboard focus. This
is nice because there can be advanced functionality in there. For
example in Dolphin: In the context menu of the "Go Back" action
there are entries to directly jump to a previously visited
location.
parent 45bc7ad2
Pipeline #486157 passed with stage
in 5 minutes and 15 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment