[wp-trac] [WordPress Trac] #14930: Enable automatic longdesc for images
WordPress Trac
wp-trac at lists.automattic.com
Fri Jul 15 16:42:06 UTC 2011
#14930: Enable automatic longdesc for images
--------------------------------------+-----------------------------
Reporter: mfields | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Accessibility | Version: 3.0.1
Severity: normal | Resolution:
Keywords: dev-feedback needs-patch |
--------------------------------------+-----------------------------
Comment (by mfields):
Elpie,
As Hakre suggested above, I bundled this into a plugin and uploaded to the
plugins directory. Please take a look at how it works:
http://wordpress.org/extend/plugins/long-description-for-image-
attachments/
It adds the longdesc attribute to an image when the user adds it to a
post. A url to the image's page is feed to the longdesc attribute with a
custom query var which tells the plugin to load a "light" template for the
query. You can see an example of this working on this page:
http://wordpress.mfields.org/2010/screenshot-of-the-new-taxonomy-widget-
plugin/
The first image in the content section has a longdesc tag which points to
a page that better describes the image. I believe that this is the
intended use of the longdesc tag.
A solution similar to this is what I was proposing for core.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14930#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list