Skip to content
HTML·Intermediate·Conceptual·1 min read

How do disabled and readonly differ?

Short interview answer

Disabled controls are not focusable and are omitted from form submission. Readonly supported controls remain focusable and submit their values but cannot be edited. aria-disabled only communicates state; code must enforce behavior.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Forms and validation

Related questions