• Resolved dtwx

    (@dtwx)


    Hi

    My accessibility checker is not happy with the title on the anchor wrapping the page number being the same as the page number:

    <a href="https://www.webpage.co.uk/category/news/page/2" title="2" class="page">2</a>

    In most cases the title attribute can be removed, otherwise modify it to provide advisory, but not redundant information. Note that the title text may or may not be read by a screen reader and is typically inaccessible to sighted keyboard users.

    The are a few possible fixes for this. One would be to prepend “Page ” to the title. Or could possibly “Go to page ” or even an admin generated string.

    In fact, it might even better to do one or all of the above but change the title attribute to aria-label – I’m not actually sure what title is really adding.

    You could also add aria-label to the prev/next buttons.

    I can ping over a patch with the changes I made.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author AlanP57

    (@alanp57)

    I’ll look into these and get back to you.

    Plugin Author AlanP57

    (@alanp57)

    Please send me your patch as an attachment to support at maxfoundry.com.

    Plugin Author AlanP57

    (@alanp57)

    Thank you for the patch. It looks good. We have a new version out next week.

    Plugin Author AlanP57

    (@alanp57)

    A new version of WP-Paginate containing the patch has been released.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redundant title text on anchors’ is closed to new replies.