[pmwiki-users] Default in Alt Text: Image Filename (ext. stripped)

H. Fox haganfox at gmail.com
Fri Aug 12 20:24:39 CDT 2005

On 8/5/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Thu, Jul 28, 2005 at 05:41:06PM -0700, H. Fox wrote:
> >
> > Why not use the image filename (with the extension stripped) as a
> > default when the author doesn't provide alt text?  The alt text is for
> > screen readers and such, right?  Wouldn't the image name be better
> > than an empty string there?
> In general I think an empty string is better here -- sometimes the
> image's filename provides descriptive information, but just as often
> it doesn't.

True.  Most likely it varies by site.  My images would have more
descriptive titles if I knew they'd become tooltips.  :-)

>  It can also interrupt the flow for screen readers and
> the like.

Oh.  I was thinking the null string might do that.

> > Could this be a recipe or configuration option at least?
> It could probably be made into a configuration option.

This would be great.  Is it a quickie or does it belong as a PITS entry?


More information about the pmwiki-users mailing list