Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which ARIA practice is correct?

  1. A Add role="button" to every clickable element
  2. B Prefer native semantic HTML and use ARIA only when no native element fits
  3. C Use ARIA attributes on every element
  4. D ARIA replaces the need for keyboard support
Answer

Prefer native semantic HTML and use ARIA only when no native element fits

The first rule of ARIA is not to use ARIA when a native element will do. Incorrect ARIA is worse than none because it misinforms assistive technology.

All Front end Development MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as