An alt tag, also known as “alt attribute” and “alt description,” is an HTML attribute applied to image tags to provide a text alternative for search engines.
Image titles are displayed when your mouse hovers over an image in some browsers, so it does improve user experience to have a proper title set.
The alt and titles of images can include customized text that’ll help the website SEO. Keyword-rich alt and titles are a relevancy signal for Google.
In the left-hand menu of the WordPress admin dashboard, go to Media -> Library. Upload the image you want to use for your website:
Once you’ve uploaded the image, click on it and open the popup with customization settings for that image:
The first 2 sections related to the image customization concern Alt (alternative text) and title, as shown in the screenshot above.
Fill in the blank spaces with the Alt text and title you want for that image.
Then, close the popup (the Alt and title will be saved for the respective image).
Then, go to the Customizer to edit the page where you want to insert the image.
Add your image to the section you want (the feature is applicable when you skip cropping for the image):
Click Publish. Then check if the Alt (alternate text) and title you associated to the image have been included for the image: