Opened 9 years ago
Closed 7 years ago
#36868 closed defect (bug) (duplicate)
Custom Logo with alternative text
Reported by: | taijacg | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Customize | Keywords: | |
Focuses: | accessibility, javascript | Cc: |
Description
When experimenting with the new Theme Logo system in 4.5, I noticed the following a11y issue:
Steps to reproduce:
- In customizer, upload logo under Site Identity
- Add alternative text to logo in upload interface
- Follow on screen process to crop image
Result:
Cropped image does not inherit alternative text from original, and an option to add new alternative text is not provided as part of the workflow. As a result, the image file name is very likely to end up as the alternative text for the site logo.
Expected:
- Alternative text to be copied automatically to the cropped image OR
- an opportunity be given for users to add new alt text to the cropped image AND / OR
- site identity information (site title/etc) be used as alt text if none is provided
There is also no easy way provided to filter the logo alt text, or fetch only the image, so that this issue can be worked around at the theme level.
Thank you!
Change History (6)
#1
in reply to:
↑ description
@
8 years ago
#4
@
8 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
- Version changed from 4.5.2 to 4.5
#5
@
8 years ago
- Keywords close added; needs-patch removed
Quick update: [38812] removed the fallback to the filename. Also, #38768 is going to provide the site name as fallback for the custom logo alt attribute. The issue with cropped images happen with any image and is tracked in #37750. Therefore, this ticket can probably be closed. Any thoughts welcome.
Hi,
Thanks for this - I'm seeing this bug without actually cropping the image.
It may be related to the theme, but I doubt it as there are plenty if images that have the correct @alt text associated. This bug was pointed out to me and they seem related.
The @alt text is added to the image/logo in the Media Library - I don't recall cropping the image at all (but may have).
HTH
Josh
Replying to taijacg: