alt text with {IMAGE:imagename} tag

Use GitHub to post feature requests for phpwcms.
Locked
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

alt text with {IMAGE:imagename} tag

Post by spirelli »

I really would like to see the possiblility to provide an alternative text for the image when using the {IMAGE:imagename} tag. Also alternative text with other instances of image use woulds be great e.g. Image content part and text w/image content part.
Peekay
Posts: 286
Joined: Sun 25. Jul 2004, 23:24
Location: UK

Post by Peekay »

This should do the job.

http://www.phpwcms.de/forum/viewtopic.php?p=24895#24895

However, I would be grateful to anyone who can help me nag Oliver about providing alt text for images loaded from the file centre in the next release. :wink:

You can validate your HTML and CSS as much as you like, but without alt text for images, your PHPWCMS website is considered inaccessible by every disability rights organisation going. I cannot use PHPWCMS for my local authority in the UK (unless I expect them to manually code the alt text in a replacement tag or in the HTML for every single image).

This is really a surprising omission for such a powerful CMS. I am not a PHP expert, but it must be relatively easy to provide an option to use the 'long description' field in the file-centre as alt text. The structure in the database already exists so it should just be a modification to the summary edit screen and the image content parts.

Hope this feature makes it into the core files soon.
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

thanks a lot!
The problem with hacks though is that:
1. I takes a little bit of time to add them
2. You have to be carful what you do when patches come out
3. It's all gone when you install the next release

So if that could be implemented as a working part of phpwcms that would be great. Would be nice to see alt tags everywhere: File centre, content parts....
Locked