WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. wwwoz
    Member
    Posted 6 months 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 6 months 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 6 months 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...

Reply

You must log in to post.

About this Plugin

About this Topic