W3C home > Mailing lists > Public > public-html@w3.org > September 2007

Re: WF2 2.13. Adding type attribute for the output element (Part of detailed review of WF2)

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sat, 01 Sep 2007 15:42:45 +1000
Message-ID: <46D8FBD5.10705@lachy.id.au>
To: mikko.honkala@nokia.com
CC: public-html@w3.org

mikko.honkala@nokia.com wrote:
> Currently, the author cannot control the presentation of the value of
> the output control. I propose that @type attribute is added to the
> output element. This way e.g., the different date types would start to
> make sense when using a screen reader (they would be read aloud using
> the users locale settings).

For outputting dates and times, you could just use the time element. e.g.

<time><output ...>2007-09-01</output></time>

Lachlan Hunt
Received on Saturday, 1 September 2007 05:43:02 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:21 UTC