nvda
c7b3eadb - i15653: better handle opening combo boxes in browse mode with automatically focus focusable elements disabled (#16016)

Commit
2 years ago
i15653: better handle opening combo boxes in browse mode with automatically focus focusable elements disabled (#16016) Fixes #15653 Summary of the issue: Two bugs are seen if automatically focus focus elements in browse mode is disabled. Possibly introduced when that setting was introduced, and made worse when browse mode focus code was further refacted in #14611. In iTunes, arrowing up and down inside a combo box incorrectly switches back to browse mode. In Firefox / Chrome, closing a combo box does not automatically switch back to browse mode. Description of user facing changes NVDA will again switch back to browse mode when closing combo boxes with escape or alt+upArrow in Firefox or Chrome. (Action Items in iTunes not accessible #15653) Arrowing up and down in combo boxes in iTunes will no longer inappropriately switch back to browse mode. (Action Items in iTunes not accessible #15653) Description of development approach BrowseModeDocument's collapseOrExpandControl script: if automatic focus focusable elements is disabled, delay the rest of the script to give time for the control to actually get focus. Webkit (iTunes) virtualBuffer: do not treat the list items of a combo box as being part of the virtualBuffer.
Parents
Loading