Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-148048

Search result pagination should not contain a link to the same page to improve screen reader accessibility

Details

    Description

      The search result pagination has a different visual style to highlight which is the current page:

      But it also contains a link to itself, this link is processed by the screen readers, this is confusing for the final screen reader user as it is hard to notice that that link is a link to the current page.

      To improve screen reader accessibility, this link should be removed.

      After quick research with several search engines:

      All of them are not linking the current page, so it seems we should also remove the link.

      I saw the same pattern in this example: https://weboverhauls.github.io/demos/pagination/

      Steps to reproduce

      1. Create 25 web content
      2. Search "test"
      3. Go to the pagination links and check the current page position:
        • Expected behavior: Current page doesn't have any link
        • Wrong behavior: Current page has a link

      Attachments

        Issue Links

          Activity

            People

              summer.zhang Summer Zhang
              jorge.diaz Jorge Diaz
              Kiyoshi Lee Kiyoshi Lee
              Jorge Diaz Jorge Diaz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                29 weeks, 6 days ago

                Packages

                  Version Package
                  7.2.10 DXP FP18
                  7.2.X
                  7.3.X
                  7.4.3.16 CE GA16
                  Master