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

Grid's DOM element with a grid(role) that requires children to contain a specific role are missing

XMLWordPrintable

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

      Steps to Reproduce

      1. verify the zul with Lighthouse 10.1.1 in Chrome developer tool
      a grid in paging mold

      Current Result

      Elements with an ARIA [role] that require children to contain a specific [role] are missing some or all of those required children.
      Some ARIA parent roles must contain specific child roles to perform their intended accessibility functions. Learn more about roles and required children elements.
      Failing Elements
      context number item item / 3 [ 1 - 1 / 3 ] Currently displaying items …
      <div id="z_1" class="z-sticky-header z-grid" role="grid">
      / 3 [ 1 - 1 / 3 ] Currently displaying items 1-1 out of 3
      <nav name="z_9" id="z_9" class="z-paging">

      Expected Result

      no the above error

      Debug Information

      • each direct child element should contain 1 required role (e.g. row, rowgroup) of an element with role=grid, so <nav> is not allowed

      Workaround


        1. zk-5478.js
          0.6 kB
        2. zk-5478.zul
          0.6 kB

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

              Created:
              Updated:
              Resolved: