From 474244ce419ebcb825d8e7927289631ef7696af8 Mon Sep 17 00:00:00 2001 From: tragessere Date: Thu, 4 Oct 2018 16:47:30 -0400 Subject: [PATCH] Pagination accessibility (#1127) * Add aria-label attributes to pagination jump and row count selector with a new prop to specify different text. * Add new text props for labels to README --- README.md | 4 ++++ src/defaultProps.js | 2 ++ src/pagination.js | 8 +++++--- src/propTypes.js | 2 ++ 4 files changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1a2414e..a736b63 100644 --- a/README.md +++ b/README.md @@ -351,6 +351,10 @@ These are all of the available props (and their default values) for the main ` ( diff --git a/src/pagination.js b/src/pagination.js index dfda26a..714d887 100644 --- a/src/pagination.js +++ b/src/pagination.js @@ -1,7 +1,5 @@ import React, { Component } from 'react' import classnames from 'classnames' -// -// import _ from './utils' const defaultButton = props => (