-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Summary
The Calendar Date is used by the Event Summary component. When reviewing https://github.com/cloudfour/cloudfour.com-wp/pull/644, @Paul-Hebert said:
I also found it a little weird having the talk duration inside of the larger date element. I wonder if it would be better if the date and duration were separate time elements? I'm not sure. Curious what other folks think.
I also agree we can enhance the experience a bit more.
Ideas
I'm not convinced we need two <time>
elements, but it's worth exploring to understand what the screen reader experience is like.
I'd also be curious to explore using aria-hidden
on the month abbreviation and day number, but keeping it off of the note. In theory, a screen reader like VoiceOver might read something like "3-day event starting on April 12, 2022".
We might also consider looking at the Author component which also uses the <time>
element but makes some modifications to enhance the UX.