[wp-trac] [WordPress Trac] #36450: alt attribute missing from site icon preview
WordPress Trac
noreply at wordpress.org
Fri Apr 8 15:19:37 UTC 2016
#36450: alt attribute missing from site icon preview
---------------------------------------+-----------------------------
Reporter: TacoVerdo | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: trunk
Severity: normal | Keywords:
Focuses: accessibility, javascript |
---------------------------------------+-----------------------------
'''Problem description'''
When adding a new site icon (favicon), in the preview step the content of
the alt attribute is missing (see image Example_in_Chrome_inspector) from
the image that shows the preview for the browser icon (see image
preview_browser_icon). Looking at the source code of the page (see image
Example_page_source), the correct alt tag is there, so it seems to be
removed from the DOM at some point.
While the alt attribute information seems to be removed, an empty height
attribute is added in the DOM.
'''Possible cause'''
A possible cause is that JavaScript is wrongly changing the attributes.
'''Steps to reproduce'''
1. Open the Customizer
2. Click 'Site identity'
3. Click 'Select image' below 'Site icon'
4. Select an image and click 'Select'
5. You're now on the 'Crop image' page. On the right, you'll see two
previews. The problem occurs for the first image on the right, just below
the header 'As a browser icon'.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36450>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list