[wp-trac] [WordPress Trac] #15926: Add alt attribute support for Custom Header functionality
WordPress Trac
noreply at wordpress.org
Wed Oct 8 07:45:34 UTC 2014
#15926: Add alt attribute support for Custom Header functionality
-------------------------------------------------+-------------------------
Reporter: jane | Owner:
Type: defect (bug) | SergeyBiryukov
Priority: normal | Status: reopened
Component: Customize | Milestone: 4.1
Severity: minor | Version: 3.0
Keywords: gci ux-feedback needs-testing | Resolution:
needs-patch needs-refresh | Focuses:
| accessibility
-------------------------------------------------+-------------------------
Comment (by rianrietveld):
Agree that every image need an alt tag, even if it's alt="".
In the case of the Custom Header functionality with the themes 2014, 2012
and 2010 the alt text serves als link text. My fear is that, if we use the
alt text entered with an image, with most websites the alt text will be
something like IMG_123 or photo1 or such (as in my experience users hardly
never fill out the title or alt text, even if they are told why that it's
important) .
Using the bloginfo( 'name ' ) makes it fool proof tmho.
Adding alt as an argument to add_theme_support( 'custom-header' ) would be
a good thing, because that makes it easier for theme developers to add a
different alt text to the header image / home link.
Is that worth a new ticket, or is that something to solve in this ticket?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15926#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list