- Executors
-
Learn
Learn Python Runnable examples, NumPy, pandas, and more Learn AI / Machine LearningNeural networks, ML and LLMs from scratch Learn C & C++ Pointers, memory, STL, and modern C++ Learn C#C# basics, OOP, LINQ, async, and .NET exercises Learn MatplotlibLine, bar, scatter and pie charts with live visualizers Learn RustOwnership, traits, error handling, and threads Learn GoSlices, interfaces, goroutines, and channels Python Algorithms Search, sorting, recursion, and visualizers O(n) C & C++ Algorithms Compare algorithms implemented in C and C++ Coding for Kids Learn to code by playing!
- QuizzesNew
- ChallengesNew
- For TeachersNew
- Updates
- Buy me a coffee
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.
Sample question
Question 1 of 10A purely decorative swirl image sits next to a heading. What is the best markup?
Show the answer
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.)
What this quiz covers
- Alt text for informative and decorative images
- Native elements first, ARIA labels second
- Keyboard focus:
tabindex, focus outlines and skip links aria-hiddenandaria-live- WCAG contrast ratios and the
langattribute
Questions people ask
Do I need an account?
No. Anyone can play. Sign in to keep your XP, streak, badges and history.
Can I retake it?
Yes. Your best score is kept, and the questions and answers are shuffled each time.