Accessibility – Thumbnail tag ‘title’ and ‘alt’ options
-
I’m new to the WordPress world, and perhaps I’ve gone about this in entirely the wrong way. However, when building a list of child pages with thumbnail images, I found the default behaviour (of using the child page title for both the ‘title’ and ‘alt’ tags on the thumbnail
) inappropriate for the site we’re working on. The featured images on those pages have ‘title’ and ‘alt’ properties associated with them, and I wanted those to flow through to the index as well.
I have a suggested patch [not extensively tested but seemingly working] to add the option of overriding the ‘title’ and ‘alt’ attributes on the thumbnail
tag either to static text (which could be “” if you want those attributes cleared altogether), or to “inherit” (which will use whatever attributes are associated with the image itself).
Is there some place I can submit that? I’d be hopeful that this might make it into a future release in some form, so I’m not constantly re-patching (and this seems like something that others may also need).
- The topic ‘Accessibility – Thumbnail tag ‘title’ and ‘alt’ options’ is closed to new replies.