Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-5464

A tree's paging control fails lighthouse accessibility check

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Normal Normal
    • None
    • 9.6.4
    • None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      after fixing ZK-5374
      check the page with chrome lighthouse 10.0.1

      Current Result

      see attached report
      Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all of those required children.

      failing elements:
      <div id="z_1" class="z-tree" tabindex="0" role="treegrid">
      <nav name="z_2" id="z_2" class="z-paging">

      Expected Result

      pass the check

      Debug Information

      • nav has a default role, navigation, which is not allowed under a treegrid(role)

      Workaround

      jq('.z-tree-paging-bottom', this.$n()).attr('role', 'row');
      jq('.z-paging', this.$n()).attr('role', 'gridcell');

            jamson jamson
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: