feat(accessibility): add default keyboard navigation and contrast docs

Make Tab and Shift+Tab move the selection in the file manager and command
palette by default, so both are fully keyboard driven without user
configuration. Document keyboard navigation, the native 4.5:1 contrast mode
and the absence of default visual changes.

Refs #31
This commit is contained in:
BlackAngelTV committed 2026-11-10 21:08:17 +01:00
1 parent 5da06976a0
commit b2a4a56c70
8 files changed
+152 -3

No files matched your search

+6 -1
View File
@@ -904,11 +904,16 @@ func (h *Handler) onKeyEvent(ev *loop.KeyEvent) error {
h.moveSelection(-1)
return nil
}
if ev.MatchesPressOrRepeat("down") {
if ev.MatchesPressOrRepeat("down") || ev.MatchesPressOrRepeat("tab") {
ev.Handled = true
h.moveSelection(1)
return nil
}
if ev.MatchesPressOrRepeat("shift+tab") {
ev.Handled = true
h.moveSelection(-1)
return nil
}
if ac := h.shortcut_tracker.Match(ev, h.keyboard_shortcuts); ac != nil {
ev.Handled = true
switch ac.Name {