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.

ปานกลาง 10 ข้อ ~6 นาที ผ่านที่ 80%

เลือกโหมด

กำลังเล่นแบบผู้เยี่ยมชม: เข้าสู่ระบบเพื่อเก็บ XP และ streak

ตัวอย่างคำถาม

ข้อ 1 จาก 10

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

ดูเฉลย

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.)

ควิซนี้มีเนื้อหาอะไรบ้าง

  • 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

คำถามที่พบบ่อย

ต้องมีบัญชีไหม?

ไม่ต้อง ใครก็เล่นได้ เข้าสู่ระบบเพื่อเก็บ XP, streak, เหรียญตรา และประวัติ

ทำซ้ำได้ไหม?

ได้ ระบบเก็บคะแนนที่ดีที่สุดไว้ และสลับคำถามกับตัวเลือกใหม่ทุกครั้ง