Ignore keyboard shortcuts that would produce a glyph in a focused text field

I would like to use keyboard shortcuts consisting of single letters plus perhaps the shift key. These work a little too well in that they still trigger the command even if I’m typing in a text field.

It would be nice if Brave Browser could identify those situations and pass the input to the text box instead of triggering the command.