Favorites

ARIA option Role

option
ARIA Widget RoleThis ARIA role is supported by all modern browsers.
Updated 28th November 2026

The option role marks a selectable item in a listbox, such as one choice in a custom select menu. The option element has this role.

☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee

Description

The option role identifies a selectable item in a listbox. It must be contained in, or owned by, an element with the listbox role (or a group within one). The <option> element in a <select> or <datalist> has this role.

Use aria-selected to show which options are selected. Options should only contain plain text: interactive content such as links or buttons inside an option can't be reached by assistive technology users.

Custom listboxes take a fair amount of keyboard scripting. Where you can, use a native <select>, which now supports custom styling in modern browsers.

Use the native HTML <option> element where you can: it already has the option role, with the expected keyboard and browser behavior built in.

Properties

Category
Widget
HTML equivalent
<option>
Accessible name from
contents, author
Required parent role
group, listbox
Required child roles
None

ARIA Attributes

Required
None
Supported
aria-checked, aria-posinset, aria-selected, aria-setsize
Prohibited
None
Global
All global ARIA attributes can also be used, such as aria-label, aria-labelledby, aria-describedby, aria-hidden.

Syntax

<element role="option">

Example

<div id="lb-l">Shipping</div>
<ul role="listbox" aria-labelledby="lb-l" tabindex="0" aria-activedescendant="o2" style="list-style:none;padding:0;width:150px">
<li role="option" id="o1" aria-selected="false">Standard</li>
<li role="option" id="o2" aria-selected="true">Express</li>
</ul>
<style>[aria-selected=true]{background:#2563eb;color:#fff}</style>

Browser Support

The following information will show you the current browser support for the option ARIA role. Hover over a browser icon to see the version that first introduced support for this ARIA role.

This ARIA role is supported by all modern browsers.

Desktop

Chrome
Edge
Firefox
Opera
Safari

Tablets & Mobile

Chrome Android
Firefox Android
Opera Android
Safari iOS
Samsung Internet
Android WebView
-
Supported Unknown Not supported
☕
Enjoying this site?

Help keep it running with a small coffee donation. Every bit of support is appreciated!

Buy us a coffee