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

Breadcrumb is not correctly labeled for accessibility

    Details

      Description

      Reproducing steps

      1. In a given site, create a hierarchy of a page (page01) and a subpage (subpage01).
      2. In the subpage, add a Breadcrumb portlet.
      3. For any of the default styles (horizontal, vertical, arrows), inspect the html for the breadcrumb area.
      4. The html structure is of the form (in the case of horizontal, for example)
        <div id="...">
            <ul class="breadcrumb breadcrumb-horizontal">
                <li class="">
                    <a href="...">
                        page01
                    </a>
                </li>
                <li class="active">
                    ::before
                    subpage01
                </li>
            </ul>
        </div>
        

      Expected: The{{ <div>}} tag is marked as a navigation landmark and is properly labeled with an attribute aria-label. The active element of the list is marked with aria-current=page.
      Observed: The breadcrumb has no such markings for accessibility.

      Comments:

        Attachments

          Activity

            People

            • Assignee:
              lu.liu Lu Liu
              Reporter:
              ricardo.couso Ricardo Couso
              Participants of an Issue:
              Recent user:
              Csaba Turcsan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                51 weeks, 4 days ago

                Packages

                Version Package
                7.0.0 DXP FP59
                7.0.0 DXP SP9
                7.0.X
                7.1.10 DXP FP2
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master