Accessibility Tutorials
Let's Sharpen Your Frontend Skills
When to Add Empty alt Attribute to HTML img Element?
Find out when you should add an emptyaltattribute to the HTML<img>element. Knowing this can help you offer cues for user agents to omit images from rendering in certain cases.Does the HTML source Element Have "alt" Attribute?
The HTML<source>element provides a way to define multiple sources for a single image. It is a great way to load optimized images based on device capabilities. Find out if thealtattribute can be applied to it.Does the HTML picture Element Have "alt" Attribute?
The HTML<picture>element provides a way to define multiple sources for a single image. It is a great way to load optimized images based on device capabilities. Find out if thealtattribute can be applied to it.Why Add alt Attribute to HTML img Element?
Learn why it is a good practice to add thealtattribute to an HTML image tag. Knowing this would help you make your code more semantic, accessible and meaningful for a wider audience.Is the alt Attribute Required on the img HTML Element?
Find out whether or not thealtattribute is required to be specified when using the<img />HTML element.How to Maintain Image Aspect Ratio Using HTML?
Learn how you can maintain an image’s aspect ratio in modern browsers using HTML and why you should start using that in your responsive web pages.How to Create a Discernible Name for Icon and Image Links?
In modern web development, accessibility is becoming a key factor as it helps you reach a wider audience by improving the navigation experience for screen readers and other assistive technologies. Adding an accessible name for a link with non-textual or empty content might seem challenging, so we thought we'd give you a quick overview of how to go about it in this article.