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

aria-activedescendant is generated at wrong place

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • 9.6.3
    • None
    • Security Level: Jimmy

      Steps to Reproduce

      <zscript><![CDATA[
      List Items = new ArrayList();
      for (int i = 0; i < 5; i++) {
          Items.add("data "+i);
      }
      ListModelList model = new ListModelList(Items);
      model.addToSelection(model.get(0));
      
      	]]></zscript>
      
          <listbox model="${model}" >
              <listhead>
                  <listheader label="listbox header"/>
              </listhead>
              <template name="model">
                  <listitem label="${each}"/>
              </template>
          </listbox>
      

      1. run the code above with za11y.jar included
      2. select an item
      3. open chrome developer tool > lighthouse
      4. analyze page load with the settings:
      Mode: Navigation
      Device: desktop
      Category: Accessibility

      Current Result

      Expected Result

      no such error

      Debug Information

      That attribute should be set on a parent/container element, and its value refers to a descendant.

      • the element that contains aria-activedescendant should also have a role grid

      Workaround

      remove aria-activedescendant on z-focus-a

            DevChu DevChu
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: