• Hi,
    I’m blind webdebeloper and find very big problem from accessibility.
    unfortunately, when adding a review, the star field is not read by the screen reader.
    You can make it as a radio button and mark the content of this field with stars to make it accessible to blind customers.
    Is it possible to fix this error?
    Are blind people excluded from using your solution?

    Regards
    Mateusz Pawłowski

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Teo Alex

    (@altesin)

    Hello @enet2020 ,

    Thank you for reporting this issue.

    We are working on a fix and will release an update shortly. Once the update is available, please update to version 3.3.8 or later and let us know if this resolves the issue.

    We apologize for the inconvenience and appreciate your patience.

    Thread Starter Mateusz

    (@enet2020)

    Hi again,
    @enet2020 ,
    Very thank for quickly reply.
    1 hour ago get update to version 3.3.8
    Problem is resolved.
    Very thanks again for help and fixing a key thing for blind users. Thanks to this, they can use websites with your solution without any problems.

    Gretings from Poland
    \Mateusz

    Plugin Author Teo Alex

    (@altesin)

    Hi @enet2020 ,

    We are glad your issue was resolved. Thank you again for reporting this!

    Thread Starter Mateusz

    (@enet2020)

    Hi again,
    @altesin
    Sorry, but now I saw that after adding an opinion, the stars on the website are not read by the screen reader, can the current stars be replaced with the symbol: *?
    This will help blind users understand how many stars have been awarded. Because he’s not reading anything these days.

    Very thanks.
    Mateusz

    Plugin Author Teo Alex

    (@altesin)

    Hello again @enet2020,

    We’ve added alternative text for the displayed rating stars to make them accessible to screen readers, and we’ve released an update containing this change.

    If you still wish to change the star icons to the * character, please add the following function to your theme’s functions.php file:

    function st_rating_stars_to_asterisks( $field, $value ) {
    $value = (int) $value;
    if ( ! $value ) {
    return '';
    }
    $label = sprintf( __( 'Rated %d out of 5 stars', 'strong-testimonials' ), $value );
    $stars = str_repeat( '*', $value );
    return sprintf(
    '<span class="strong-rating-wrapper"><span class="strong-rating-text">%s</span><span aria-hidden="true">%s</span></span>',
    esc_html( $label ),
    esc_html( $stars )
    );
    }
    add_filter( 'wpmtst_output_star_rating', 'st_rating_stars_to_asterisks', 10, 2 );

    You can add it by going to WordPress Dashboard → Appearance → Theme File Editor → Theme Functions (functions.php), then paste the function at the end of the file and save the changes.

    Alternatively, if your site uses a child theme, we recommend adding it to the child theme’s functions.php file.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.