Web Accessibility Questions

This quiz covers web accessibility questions often asked in front-end interviews: alt text, native elements vs ARIA, keyboard focus, live regions and WCAG contrast ratios. It is a good check before an interview or an accessibility review.

Trung bình 10 câu hỏi ~6 phút Đạt từ 80%

Chọn chế độ

Bạn đang chơi với tư cách khách: đăng nhập để lưu XP và streak.

Câu hỏi mẫu

Câu 1/10

A purely decorative swirl image sits next to a heading. What is the best markup?

Xem đáp án

C. <img src="swirl.png" alt=""> An empty alt="" tells screen readers to skip the image. Leaving alt out often makes them read the file name, and "swirl image" is just noise. (A CSS background image is another option.)

Quiz này có gì

  • Alt text for informative and decorative images
  • Native elements first, ARIA labels second
  • Keyboard focus: tabindex, focus outlines and skip links
  • aria-hidden and aria-live
  • WCAG contrast ratios and the lang attribute

Câu hỏi thường gặp

Có cần tài khoản không?

Không. Ai cũng chơi được. Đăng nhập để lưu XP, streak, badge và lịch sử.

Có làm lại được không?

Được. Điểm cao nhất của bạn được giữ lại, câu hỏi và đáp án được xáo trộn mỗi lần.