The widget needs to be keyboard focusable, to have semantic information polyfilled with ARIA, and for keyboard interaction to be provided. Use this <span> based pattern to extend the existing code. If possible, use this <button> based pattern instead (because most of the missing information/interaction is handled by the browser.
The filter/disclosure widgets on the mockup1 page are not keyboard or screen reader accessible because they're created with
<div>
and<span>
elements.The widget needs to be keyboard focusable, to have semantic information polyfilled with ARIA, and for keyboard interaction to be provided. Use this
<span>
based pattern to extend the existing code. If possible, use this<button>
based pattern instead (because most of the missing information/interaction is handled by the browser.