CIW User Interface Designer (UID) Practice Test

Session length

1 / 20

When should ARIA attributes be used with button elements?

Use div elements with role='button' for flexibility.

Use button or input type='button' semantics; ARIA attributes only when native semantics can’t convey state or role; do not override semantics.

Buttons have built-in accessibility: they respond to keyboard activation and are announced as buttons by assistive technologies. You should use ARIA attributes only when the native button semantics can’t convey the needed state or role. If you need to reflect something about the button’s state (like a toggle), you can add ARIA attributes such as aria-pressed, but you still rely on the native button for proper keyboard support and default behavior. Avoid substituting a real button with a div and role="button," because that requires extra work to implement keyboard interactions and focus behavior, and it may still be less reliable across AT. ARIA is a helpful supplement, not a replacement for native semantics, and it shouldn’t be applied to every element.

Always use ARIA attributes on all elements.

ARIA should replace native button semantics for better control.

Next Question

Find the option that is right for you!

All options are one-time payments.

$25.99

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
👑$59.99 $171.99 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $171.99 usd value for $59.99! You save $106!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$15.99 $24.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy