Open daFreeMan opened 5 years ago
relabelling as enhancement, because strictly speaking this is not "wrong" behaviour, just crappy behaviour. FWIW I'd expect the preview box itself to be readonly and therefore skipped when tabbing. That would make it unreachable via keyboard navigation, which carries accessibility implications (not that the VBE is accessible...)
Rubberduck version information
Description 1)
OK
button is not defaulted. 2)<Tab>
key moves into thePreview
box but not out of it 3)<Down Arrow>
will move the cursor below the visible section ofPreview
box leaving no obvious indication of where you are. 4) There is a preview of theProperty Get
method, but not of theProperty Set/Let
method. It may be that when using theDown Arrow
to go below what's visible in thePreview
box, it's actually going past this previewed code, but there is no vertical scroll bar or scrolling in the text box. 5)<Shift><Tab>
from theProperty Name
text box will move to theCancel
button,<Shift><Tab>
again will move to theOK
button.<Shift><Tab>
a third time will move into thePreview
box, but will not move out of it.To Reproduce Steps to reproduce the behavior: As described above
Expected behavior When I type a new name in the
Property Name
entry box, I'd expect to be able to hit<Enter>
to accept the change (same behavior as clickingOK
). I would expect hitting<Esc>
to close the dialog without making any changes. Similar to #5137 - I believe there was chat discussion to extend this to all dialogs, I'm formalizing the request for this one here. When I<Tab>
from theSetter Type
check box collection intoPreview
, the "preview collapse" button area (green rectangle in screen shot) is selected. Another<Tab>
takes me to the previewed code text box. Another<Tab>
should take me to theOK
button.Screenshots This shows the tab order in the dialog box: Once the cursor is in
5
, it's stuck there - keyboard commands will not get it out. Mouse clicks do continue to work as expected. I show-1
and-2
because the only way to get to the buttons is via<shift><tab>
from1
.Logfile Fairly large log file including several parses. Nothing of interest beyond
Executing click handler for menu item '&Encapsulate Field'
at time stamp2019-09-11 12:35:00.1427
. No errors logged. RubberduckLog.txtAdditional context We're not all exclusive mouse users!