From 47ef0a877e6fc18c1e516f7a0855e0531c77af96 Mon Sep 17 00:00:00 2001 From: Ng Yik Phang Date: Sat, 21 Apr 2018 08:07:27 +0300 Subject: [PATCH] Improve pagination's documentation accessibility. - Remove `.sr-only` span for previous/next page, there is already`aria-label` - Add `aria-disabled="true"` and `aria-current="page"` --- site/docs/4.1/components/pagination.md | 28 +++++++++++++++----------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/site/docs/4.1/components/pagination.md b/site/docs/4.1/components/pagination.md index b20b0624d7..b1f8e58a23 100644 --- a/site/docs/4.1/components/pagination.md +++ b/site/docs/4.1/components/pagination.md @@ -27,7 +27,7 @@ In addition, as pages likely have more than one such navigation section, it's ad ## Working with icons -Looking to use an icon or symbol in place of text for some pagination links? Be sure to provide proper screen reader support with `aria` attributes and the `.sr-only` utility. +Looking to use an icon or symbol in place of text for some pagination links? Be sure to provide proper screen reader support with `aria` attributes. {% capture example %}