Interview Question

How do you improve accessibility?

Semantic HTML and keyboard-friendly controls are the best starting points.

💡 Concept ✅ Quick Revision 🌐 HTML

Answer

Improve accessibility by making the page understandable with sight, sound, or keyboard use. • Use semantic HTML, alt text, labels, headings, visible focus, and good contrast. • Prefer native HTML elements before adding custom scripted behavior. • Test the result with a keyboard, a small screen, and browser developer tools.

💡 Simple Example

<button type="button">Save</button>

⚡ Quick Revision

Semantic HTML and keyboard-friendly controls are the best starting points.