[dev] Re: [cvs] commit: kronolith month.php

Derek P. Moore derekm at hackunix.org
Thu Nov 25 01:35:32 PST 2004


>>    Just "+" for the plus image alt tag.
>
> Why that? The sense of alt attributes is to provide an alternative
> description of images, not a textual representation of that.
> And if a theme uses an icon less intuitive, it's an additional icon
> help/legend if move over the icon.

alt="+" makes a lot of sense, actually.

The HTML 4.01 spec reads:  "alt = text [CS] For user agents that cannot 
display
images, forms, or applets, this attribute specifies alternate text. ... 
Several
non-textual elements (IMG, AREA, APPLET, and INPUT) let authors specify
alternate text to serve as content when the element cannot be rendered
normally. Specifying alternate text assists users without graphic display
terminals, users whose browsers don't support forms, visually impaired users,
those who use speech synthesizers, those who have configured their graphical
user agents not to display images, etc."

title="+" certainly doesn't make sense, however.

The HTML 4.01 spec reads: "Values of the title attribute may be 
rendered by user
agents in a variety of ways. For instance, visual browsers frequently display
the title as a 'tool tip' (a short message that appears when the pointing
device pauses over an object). Audio user agents may speak the title
information in a similar context."

In the Week View, the tooltip for the New Event '+' reads "Create a New 
Event",
and in Month View before it was a plus sign straight out, it read simply "New
Event".  The best title attribute for the '+' img in Month View would probably
be "Create a New Event".

'alt="+" title="Create a New Event"' makes the most sense overall.

Derek



More information about the dev mailing list