Expander

Native expander

On focus, the details/summary element must identify its name, role and state.

More info This semantic element covers all success criteria with no additional scripting.

Custom expander

On focus, the expander <button> must identify its name, role and state.

This button requires aria attributes and additional scripting.