[wp-trac] [WordPress Trac] #46124: Allow setting custom image alt text in custom header image

WordPress Trac noreply at wordpress.org
Fri Nov 26 14:02:01 UTC 2021


#46124: Allow setting custom image alt text in custom header image
-------------------------------------------------+-------------------------
 Reporter:  webmandesign                         |       Owner:  audrasjb
     Type:  defect (bug)                         |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.9
Component:  Media                                |     Version:  5.0.3
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-patch has-         |     Focuses:
  testing-info                                   |  accessibility
-------------------------------------------------+-------------------------

Comment (by Boniu91):

 @sabernhardt I was just testing the patch and I think there's a UX
 problem, please find my TR below:

 == Test Report

 === Env
 * WordPress 5.8.2
 * Chrome 96.0.4664.45
 * Windows 10
 * Theme: Twenty Seventeen

 === Steps to test
 1. Patch is applied
 2. Go to the Customizer and Header section
 3. Add new image
 4. Add alt text
 5. **Crop the image**
 6. Publish the changes
 7. Check the source, alt is empty

 Cropped image **doesn't** inherit alt text from the orginal one!

 Before applying the patch, we'd have header image with site description
 alt. After patch, it'll be empty in this scenario, which in my opinion
 could be happening often. Is this behaviour expected?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46124#comment:60>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list