Custom and accessible panel

panels, CSS, style, accessibility, button

Create a custom and accessible panel, styled entirely with CSS.

Accessibility:

By default a panel creates buttons as divs. In this example the createControlMarkup panel function is overridden to create a more accessible markup for the buttons. See the accessible-panel.js source to see how this is done.