Bug – Media Library Alt text for image not working
-
Testing Environment
Wordpress Version: 5.8-beta1
HTTPS -> Yes
Multisite -> No
Active Theme – WordPress default – Twenty Twenty-One
Plugins activated -> Gutenberg 10.8.0 , WordPress Beta Tester 3.1.0
Server -> Linux Apache
PHP Version -> 7.3.20
Database -> mysqli 5.6.38Issue related to wordpress default image block.
Steps to recreate the error -> 1. Insert an image to a page using image block
2. Write a alt text for that image in block setting panel
3. Check frontend code and you will see the alt text is showing.
4. Now remove the alt text from image block settings
5. Go to media library and add alt text for that particular image
6. Check front end again and you will see no alt text added for the image.
7. Now again insert that image using image block directly from media library
8. You will see that alt text is working in the frontend.So if we apply alt text in media library beforehand we insert it in the page, then the alt text is working.
But if we insert image beforehand and then later on apply alt text in media library, it not work for the image already inserted.Thanks
Hozefa
- The topic ‘Bug – Media Library Alt text for image not working’ is closed to new replies.