473,396 Members | 2,013 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Best accessibility practice? - HTML markup to represent dates

I'm using this at present:
<p title="Publication date" >[28/09/2005 15:00]</p>

Works fine on screen, but Fangs/Jaws just reads it as "left bracket
twenty-eight slash zero slash two thousand five fifteen colon zero right
bracket" Really it needs something more to indicate that it _is_ a
date.

The [...] brackets would be better done with CSS, :before and content: ,
but the boss wants it to work under IE too. The site is firmly UK
based, so d/m/y is necessary and won't be getting internationalised.

So, what's the best markup for representing a date, with good
accessibility to screen readers?
Sep 28 '05
52 4528
On Fri, 25 Nov 2005 20:54:15 +0100, "Johnny Winther Ronnenberg"
<jo************@XYZtdcadsl.dk> wrote:
Although this tread was fun to read, it seems that no one had the thought,
TB-L, around 2001. Look up "Semantic Web"

why don't we have at a set of
<date><day></day><month></month><year></year><time></time></date> tags?


We do, just not in HTML.

The problem for this original posting (I'm the OP) was not "how to
communicate dates to intelligent machines", because that's largely a
solved problem (if not yet widely implemented). The more specific
problem I had was based on _HTML_ (because I had to do this in a pure
HTML context) and how to communicate to a small set of user agents
(screen readers) so as to improve their behaviour, without breaking the
transparency of the HTML for plain old humans reading on screen.

We can solve the complex case, but not it appears do much to improve the
simple case.
Dec 1 '05 #51
rf
Robi wrote:
Johnny Winther Ronnenberg wrote in message news:43*********************@dread11.news.tele.dk. ..
Dr John Stockton wrote:
JRS: In article <43*********************@dread11.news.tele.dk>, dated
Sun, 27 Nov 2005 16:49:18, seen in
news:comp.infosystems.www.authoring.html, Johnny Winther Ronnenberg posted :

Both in and out of Europe the following combinations can and do
occur, dd-mm-yy, mm-dd-yy, yy-mm-dd and yy-dd-mm.
Where is yy-dd-mm used, except by mistake?


According to my wife its quit common in Sweden, Norway, France, Spain,
Italy, it dos occur in UK and Germany, as well, as in countries on the South
American continent and from some Asian countries and Australia and in other
countries to.


Never seen it like that in Germany, Italy, Spain, France, the UK and Venezuela.
I've never seen it as yy-dd-mm anywhere. The only odd way I had to get accustomed
to is the US way - mm-dd-yy.

I don't know about Asia or Down Under though (sorry Bruce ;-)


I'm not brucie but I can confirm that, in Australia, I have never seen
yy-dd-mm.

I had a look at this a while ago. In the Windows regional settings there
are some regions that use yy-mm-dd, some that use dd-mm-yy, some that use
mm-dd-yy (not just the U S of A). There are none that use yy-dd-mm.

--
Cheers, Richard.
Dec 2 '05 #52
Thu, 1 Dec 2005 23:27:11 +0100 from Johnny Winther Ronnenberg
<jo************@XYZtdcadsl.dk>:
I asked my wife she could not remember whether US passport used one format
or another.


Remember? Why remember, just look at one.

Mine was issued, in its terms, "27 Oct 2004", and my date of birth is
shown in the same format.

People who are claiming yy-dd-mm format don't have much credibility
with me.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Dec 2 '05 #53

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

131
by: Peter Foti | last post by:
Simple question... which is better to use for defining font sizes and why? px and em seem to be the leading candidates. I know what the general answer is going to be, but I'm hoping to ultimately...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.