Ticket #6343 (new defect)
ComboBox: Impossible to set to an empty value using the keyboard when there is no "blank" choice
| Reported by: | clown | Owned by: | becky |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.4 |
| Component: | Accessibility | Version: | 1.0 |
| Severity: | normal | Keywords: | |
| Cc: | davidb, doughays |
Description (last modified by clown) (diff)
Consider the test page: .../dijit/tests/form/test_ComboBox.html
Steps to reproduce:
1. Focus on the combobox designated "Dijit List test #1 (150% font):". This combobox initially displays the value "dijit.Editor".
2. Erase that value such that the box is blank. The list of choices pops up.
3a. Dismiss the choice list via esc. "dijit.Editor" will reappear in the box as the choice.
3b. Alternatively, dismiss the choice by clicking outside of the list of choices. The box will remain empty.
If the user's intent is to leave the box empty, they can't do it using the keyboard.
Compare the above results with the combo box labelled "US State test 1 (200% Courier font):" (the first one on the test page). This combo box includes a "blank" choice at the top of its list, just above "Alabama". Here, users can use the keyboard to choose the "blank" choice and make the box empty.
Note that there is a general inconsistency here between keyboard and mouse operation: if dismissed by pressing esc, the choice reverts back to the last value; however, if dismissed by mouse click (e.g., clicking outside of the list), the result is the current value.