• Resolved joersch

    (@joersch)


    Hello,

    the generated Review like this:
    <div class="glsr-themed-rating" style="--gl-rating-size:20px;" aria-label="Rated 5 out of 5 stars" data-rating="5" data-reviews="0" data-stars="default">

    is include a aria-label. OK, thats fine. My chrome plugin “Lighthouse” suggest me for screenreeders purpose this should by complement with a role attribute like this: role=”img”
    Does is posible include this?
    <div class="glsr-themed-rating" style="--gl-rating-size:20px;" role="img" aria-label="Rated 5 out of 5 stars" data-rating="5" data-reviews="0" data-stars="default">

    (in summary it is done)

Viewing 1 replies (of 1 total)
  • Plugin Contributor Paul

    (@pryley)

    Yes, the next Review Themes update will add this.

    Also, if you need help with the addons, please use the support form on your Nifty Plugins account as I can only provide support for the free Site Reviews plugin here.

Viewing 1 replies (of 1 total)

The topic ‘Rating item with html role attribute?’ is closed to new replies.