Hey @esmi et al With the new plugin…
Hey @esmi et al: With the new plugin page headers (see http://wordpress.org/extend/plugins/buddypress/ http://wordpress.org/extend/plugins/bbpress/ http://wordpress.org/extend/plugins/login-logo/ for examples), what if anything should we be doing around alt tags for those images?
Graham Armfield 12:04 pm on January 4, 2012 Permalink
Hi Jane, happy new year.
In the examples you quote the images are mainly decorative – certainly in the case of BuddyPress and bbPress – so they should have an alt attribute set as empty string – eg alt=”".
In the case of the Login Logo one, the image contains more information (although it’s available elsewhere) so perhaps the alternate text should contain more. But it’s not a good idea to stuff the alt attribute with a long string.
As a general rule, alt text should describe what the image shows or represents. If an image is a link then the alt text should describe the link destination. If the image is purely decorative then the alt text should be an empty string.
Images should never be presented without the alt attribute as this will cause some screen readers to voice the entire path to the image – often a verbose, obscure or meaningless experience.
So to determine what the alt text should be for these header images, whoever is supplying them should also supply appropriate alt text to go with them.
Hope that helps
asdjqwueqwep 4:07 am on January 13, 2012 Permalink
Good job Sven.
Now, insert this function:void ht1632_clear()
for (int i=1; i<=4; i++)
ht1632_clear(i);
and leave the #define cls ht1632_clear in place, together will all calls to cls.
Basically, we re-defined the old ht1632_clear (with no parameters) function.(As before, I did not test this.)