Disabled State
Disabled State
Some HTML attributes are reflected by DOM properties. For a button, the disabled property controls whether the button can be used.
Accessible state may also need an ARIA attribute so other tools can read the same state.
Your task: Disable the submit button and set its aria-disabled attribute to true. Keep the button text unchanged.
Free with a JS Exercises account
Sign in to start coding, run your solution, and keep your progress saved for later. No payment needed.
By continuing, you agree to our Terms and Privacy Policy. We'll send occasional product updates and news. You can unsubscribe anytime.
Disabled State
Some HTML attributes are reflected by DOM properties. For a button, the disabled property controls whether the button can be used.
Accessible state may also need an ARIA attribute so other tools can read the same state.
Your task: Disable the submit button and set its aria-disabled attribute to true. Keep the button text unchanged.