[wp-trac] [WordPress Trac] #15926: Add alt attribute support for Custom Header functionality

WordPress Trac noreply at wordpress.org
Mon Oct 6 20:36:59 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 joedolson):

 Comment 34 is referring to specific cases, so it's not reflecting the
 general case.

 The general case is that any image that contains text or contributes
 content to the site must have an alt attribute. Any image that links
 anywhere must also have an alt attribute, regardless of whether the image
 itself contributes content.

 In order to conform with ATAG guidelines (Authoring Tool Accessibility
 Guidelines), we need to provide the ability for authors to define
 alternate text for an image. There's obviously no way to do this and force
 it to work for all existing themes, but we can create the ability to add
 it in theme updates and future themes.

 I think that adding it as a new argument to theme support for custom
 headers is a great solution.

 Having a default alt attribute for linked images is fine, but it doesn't
 solve the general case.

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


More information about the wp-trac mailing list