Accessibility · Senior · Question 13 of 75

What is the correct ARIA 1.2 structure for an editable combobox?

Show the answer

Correct answer: role="combobox" on the input, with aria-expanded and aria-controls

Explanation

The input holds focus, and aria-activedescendant marks the active option. Older patterns put the role on a wrapper, which is why old libraries differ.

Further reading

Problem with a question

Accessibility · Senior · question 13

Test yourself

Take the Accessibility · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz