Skip to content

Find what you need, instantly

Search components, ARIA roles & attributes, and WCAG criteria.

All attributes

aria-readonly

Boolean

Indicates that the user can view and navigate an element's value but not change it — unlike aria-disabled, which also blocks operation. The element still receives focus and participates normally, so it's read-only rather than inert. It applies to inputs, grids, and other editable widgets.

Values
true
The value is not editable, but the element is otherwise operable.
false (default)
The value is editable.
Used on
<input><textarea>
Example
aria-readonly="…"
<div role="textbox" aria-readonly="true">Fixed value</div>