microsoft/Terminal

CommandPalette's keyboard accelerators not read properly sometimes

開放

#9,248 建立於 2021年2月22日

 (0 則留言) (0 個反應) (0 位負責人)C++ (9,275 個分叉)batch import
Area-AccessibilityArea-CmdPalHelp WantedIssue-BugPriority-3Product-Terminal

倉庫指標

星標
 (103,173 顆星)
PR 合併指標
 (平均合併 27天 19小時) (30 天內合併 24 個 PR)

描述

Environment

WT version: after #9234 merges

Steps to reproduce

  1. open command palette
  2. Navigate focus to a command with ctrl+- keyboard accelerator

Expected behavior

screen reader reads "control minus"

Actual behavior

screen reader reads "control plus"

Suggested approach

https://docs.microsoft.com/en-us/windows/uwp/design/input/keyboard-accelerators

Maybe we need to create KeyboardAccelerator objects from the strings we get? This just sounds like the correct approach tbh.

貢獻者指南