Warning: include(/50146): Failed to open stream: No such file or directory in /var/www/accessible-wp.com/wp-includes/class-wp.php on line 852

Warning: include(): Failed opening '/50146' for inclusion (include_path='.:/usr/share/php') in /var/www/accessible-wp.com/wp-includes/class-wp.php on line 852
ALT \ Alt text | AccessibleWP

The ALT is an attribute that can be added to an HTML image tag to textually explain what is happening in the image for those who cannot see it or who use assistive technologies.

Although this attribute is not required to display the image, there is a guideline from the W3C to use this attribute properly for all accessibility levels (A, AA, AAA).

Here is an example of the ALT syntax:

<img src="policeman.jpg" alt="Policeman standing and holding a traffic sign pointing to the left" />

This post was written by Amit Moreno in September 24, 2022.

Leave a Reply

Your email address will not be published. Required fields are marked *


Accessibility Toolbar