E-mail List Archives
Thread: <time> vs <abbr> vs <span>
Number of posts in this thread: 2 (In chronological order)
From: Philip Loh
Date: Tue, Jun 27 2017 9:13PM
Subject: <time> vs <abbr> vs <span>
No previous message | Next message →
I'm wondering if the Accessibility community has comments regarding the usage of <time> elements in HTML. My basic testing revealed that screen readers don't seem to read them differently compared with <span> elements, but I may have missed a case or two.
Is there movement in the AT space towards relying on semantic elements like <time>?
>> Philip.
From: Swift, Daniel P.
Date: Wed, Jun 28 2017 7:03AM
Subject: Re: <time> vs <abbr> vs <span>
← Previous message | No next message
The time tag isn't meant for users per-se. It's more about making software smarter ... for instance, if I use the time tag and include a date/time inside of that in a blog post, a search engine can better identify the freshness of content. This is just one example of usage.
To me, the time tag has nothing to do with accessibility but more about marking up content which is semantically correct.
Hope that helps!
Dan Swift
Senior Web Specialist
Enterprise Services
West Chester University
610.738.0589