Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter mandersen77

    (@mandersen77)

    Subject: My Calendar 3.8.7: duplicate heading IDs fixed, but aria-labelledby now points to the old ID

    Hello,

    Thank you for the 3.8.7 fix for duplicate heading IDs on multi-day events. I updated today and the duplicates are gone. Each day of a multi-day event now has its own heading ID.

    One thing was left behind. The event details container still uses the old ID pattern in aria-labelledby, so the reference no longer matches any element.

    Example from our calendar (list view, details open in a modal), event occurrence 1429, a multi-day event:

    Heading:


    Details container:


    No element with id="mc_1429-title-harc-calendar" exists on the page. The same thing happens for single-day events. On our October view, 30 of 35 aria-labelledby references point to an ID that is not there.

    It looks like the heading ID changed in my-calendar-output.php (id='title-$container_id-$id'), while the mc_{occur_id}-title-{calendar_id} pattern is still used elsewhere, for example the aria-describedby values in my-calendar-templates.php (around lines 924 and 2520).

    Setup: My Calendar 3.8.7 (free), calendar ID "harc-calendar", list format, details in modal. Page: https://harcmt.org/calendar/

    The effect is small. Everything works for sighted visitors, but screen readers lose the event title as the label for the details panel, and accessibility checkers report a broken ARIA reference.

    Thanks for the quick work on the first fix.

    Michael, N7DAY
    Headwaters Amateur Radio Club of Montana
    https://harcmt.org
Viewing 1 replies (of 1 total)