Title: Accessibility Improvements Request
Last modified: March 24, 2021

---

# Accessibility Improvements Request

 *  [carlabobak](https://wordpress.org/support/users/carlabobak/)
 * (@carlabobak)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/accessibility-improvements-request-2/)
 * Hi, I’m working on improving the accessibility of a website that uses this plugin
   and one of the things that Google Lighthouse complains about is the lack of discernible
   names for the links within the pagination the plugin generates.
 * My specific use case does not specify text to show for the next, previous, first,
   and last links and instead simply shows the chevrons that get added through pseudo
   elements so what the links do is not clear for accessibility purposes.
 * I’ve tested editing the plugin files directly (which will obviously get overwritten
   the next time this plugin is updated) to see how easy of a change it would be
   to implement and it seems pretty simple so I was curious if it was something 
   that you’d be willing to add in the next release of the plugin. I would open 
   a PR against this code base with the changes, but I don’t see a repo linked.
 * Here are my suggested changes that add an aria-label attribute to these links
   within the core.php:
    Line 101: `'aria-label' => 'First Page'`
 * Line 110:
    `'aria-label' => 'Previous Page'`
 * Line 182:
    `'aria-label' => 'Next Page'`
 * Line 190:
    `'aria-label' => 'Last Page'`
 * Thank you!

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

 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/accessibility-improvements-request-2/#post-14226199)
 * Hi, the repo is at [https://github.com/lesterchan/wp-pagenavi](https://github.com/lesterchan/wp-pagenavi),
   remember the English text needs to be wrapped with __()
 *  Thread Starter [carlabobak](https://wordpress.org/support/users/carlabobak/)
 * (@carlabobak)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/accessibility-improvements-request-2/#post-14250451)
 * Hi Lester,
 * Thank you for the link to the repo and for the great plugin! I’ve created a PR
   here:
    [https://github.com/lesterchan/wp-pagenavi/pull/62](https://github.com/lesterchan/wp-pagenavi/pull/62)

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

The topic ‘Accessibility Improvements Request’ is closed to new replies.

 * ![](https://ps.w.org/wp-pagenavi/assets/icon.svg?rev=977997)
 * [WP-PageNavi](https://wordpress.org/plugins/wp-pagenavi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-pagenavi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pagenavi/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pagenavi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pagenavi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pagenavi/reviews/)

## Tags

 * [enhancement](https://wordpress.org/support/topic-tag/enhancement/)

 * 2 replies
 * 2 participants
 * Last reply from: [carlabobak](https://wordpress.org/support/users/carlabobak/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/accessibility-improvements-request-2/#post-14250451)
 * Status: not resolved