Seite 1 von 1

Error in documentation

Verfasst: Do 29. Mär 2007, 11:40
von rimbaud
Hello

I have just started using Contenido and noticed an error in the 4.4.5 documentation:
cHTML::setAlt ( $ alt )


setAlt: sets the alt and title attributes

Sets the "alt" and "title" tags for mouse overs. "title" is required for Mozilla browsers as they don't show "alt" tags properbly.
This is incorrect: "alt" attributes are used for accessibility, e.g. screenreaders. "title" attributes are for mouse overs. Internet Explorer behaves incorrectly according to W3C specs and Mozilla browsers correctly only show "title".

Regards

Jon

Verfasst: Fr 30. Mär 2007, 14:50
von emergence
verschoben...

class.htmlelements.php - class cHTML - function setAlt -> description

sieht man nur wenn man sich die doxy-gen doku ansieht, bzw generieren läßt...