aria-readonly
BooleanIndicates 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>
Associated roles
Example
aria-readonly="…"
<div role="textbox" aria-readonly="true">Fixed value</div>References