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

      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');

        1. zk-5464.zul
          1 kB
          hawk
        2. zk-5464.zul.html
          3 kB
          hawk

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

              Created:
              Updated:
              Resolved: