WordPress.org

Forums

My Calendar
Accessibility: alt Attribut Event Detail Empty (3 posts)

  1. wwwoz
    Member
    Posted 1 year ago #

    i think there is an accessibility issue in the event detail page
    especially with wcag 2.0 Success Criterion 1.1.1
    http://www.w3.org/TR/UNDERSTANDING-WCAG20/text-equiv-all.html

    the alternative text for the event detail image is not shown or even enterable

    not sure if this is the correct place:
    https://github.com/wp-plugins/my-calendar/blob/master/my-calendar-output.php (line 255)
    $event_image = ($event->event_image!='')?"<img src='$event->event_image' alt='' class='mc-image' />":'';

    http://wordpress.org/plugins/my-calendar/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    First, this is an issue, and is going to be fixed in the next release of My Calendar, which is in progress.

    However, having an empty alt attribute is not, in itself, a failure for WCAG 2.0 1.1.1, because that's content-dependent. If the image is content-bearing, e.g., has text or relevant content for the page, then the alt attribute should be provided. If it's decorational, it should be empty.

    Regardless, My Calendar is currently not ATAG compliant due to the lack of ability to define this alt attribute.

  3. wwwoz
    Member
    Posted 1 year ago #

    ... and is going to be fixed in the next release of My Calendar, which is in progress.

    great to hear, thanks for the quick response...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • My Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic