[dev] Re: [cvs] commit: kronolith month.php
Jan Schneider
jan at horde.org
Thu Nov 25 02:04:38 PST 2004
Zitat von "Derek P. Moore" <derekm at hackunix.org>:
>>> 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."
But we don't know what graphic theme designer will use. A plus icon is only
one option.
> 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.
But that isn't possible because all graphics in Horde have alt and title
attributes the same.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list