We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1dd8ee commit f24fb85Copy full SHA for f24fb85
test/test.js
@@ -171,6 +171,10 @@ describe('combobox-nav', function() {
171
assert.equal(options[0].getAttribute('aria-selected'), 'true')
172
assert.equal(input.getAttribute('aria-activedescendant'), 'baymax')
173
174
+ press(input, 'Control', true)
175
+ assert.equal(options[0].getAttribute('aria-selected'), 'true', 'Selection stays on modifier keydown')
176
+ assert.equal(input.getAttribute('aria-activedescendant'), 'baymax', 'Selection stays on modifier keydown')
177
+
178
press(input, 'Backspace')
179
assert(!list.querySelector('[aria-selected=true]'), 'Nothing should be selected')
180
assert(!input.hasAttribute('aria-activedescendant'), 'Nothing should be selected')
0 commit comments