Accessibility of Month Grid Toggle and Lightbox options
-
Loving the popup/lightbox option for additional details on the month view. It’s a great way to keep the calendar display compact.
However, there’s a huge accessibility issue with this option – essentially the entire month grid is not keyboard navigable at all in this mode.
I understand why you have done it how it is – there is one set of markup for all the 3 different
toggle
options: description displayed inline, with a toggle, and in a lightbox. But this means the clickable title for the lightbox is a<span>
not a<button>
or<a>
(which would make things better for keyboard navigable by default). Using the span for the clickable lightbox element can be kept as it is and made accessible if some additional accommodations were made for it in terms of accessibility.Some possible approaches:
- Keep the clickable
<span>
elements as they are, but addtabindex="0"
to make them focusable - Introduce a
<button>
element that would trigger the toggle and lightbox actions, and could be hidden in inline description mode.
And in either case:
- add proper Aria tags throughout: aria-label,?aria-labelledby, aria-expanded, aria-controls, aria-hidden, etc.
Let us know what you think of this and if there’s anything we can do to help with implementing or testing it.
(here’s the shortcode we are using, for reference:)
[ics_calendar eventdesc="true" location="true" organizer="true" reload="60" showendtimes="true" toggle="lightbox" url="webcal://outlook.office365.com/owa/calendar/{our-url}/reachcalendar.ics"]
The page I need help with: [log in to see the link]
- Keep the clickable
- The topic ‘Accessibility of Month Grid Toggle and Lightbox options’ is closed to new replies.