MDN self-hosted library · e01.org

ARIA: option role

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<div role="option"><h3>Title of my option</h3></div>
html
<div role="option"><h3 role="presentation">Title of my option</h3></div>
html
<div role="option">Title of my option</div>