-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AT support for datetime attribute? #101
Comments
Looking through the draft spec, I notice date and time as suggested values for the How might we distinguish a duration value from a clock time? Will the "PT" prefix (from HTML5's Why/how is 'date' distinct from 'time'? Spec for
w3c has several documents which touch this, but AFAICT it makes no formal definition, except by referencing ISO WHATWG's HTML5 spec is another one (non w3c), which specifies I am anxious that the pronunciation task force does not overlook this matter when specifying how date and time values are announced. |
@brennanyoung Great question. SSML say-as date/time provides a mechanism to correctly parse the contents of the SSML tag into an aural presentation that more closely resembles how people talk about dates and times. It provides clarity to the reader of the date/time formats used when authoring to disambiguate the content. It takes into account the author's locale instead of the reader's. It also turns machine formats (e.g., The I think both would still get used for their intended purpose but it may take better examples to clarify. |
[DRAFT RESPONSE] Option 1: Dates and times that fit the available formats of <time datetime="2018-11-07" data-ssml='{"say-as":{"interpret-as":"date", "format"="dm"}}'>7-11</time> Option 2:
<abbr data-ssml='{"sub":{"alias": "starting February 7, 2022 and ending February 11, 2022"}}'
title="Feb 7-Feb 11, 2022">
Next week
</abbr> pending counter example that may not work because the content wouldn't parse |
Thank you! |
I was surprised (dismayed) to discover very little push for correct interpretation of the
datetime
attribute. Unlike (e.g.) aria-ssml, this attribute is widely supported by user agents, but has very little support (AFAICT) from AT vendors.<time>
element or the ARIAtimer
role?datetime
has a viable mechanism to distinguish between duration values and clock time, and between HH:MM and MM:SS. AT vendors do not do this (yet). Why is this not already normative? How do we make it so?Full disclosure: I work in the medical simulation field.
Given 200mg of morphine over "5:00"
200mg of morphine over 5 minutes is significantly different to 200mg of morphine over 5 hours.
The text was updated successfully, but these errors were encountered: