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

radiogroup inappropriate aria-owns (confuses screen-reader)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 9.6.0
    • 9.5.1
    • Components
    • Security Level: Jimmy
    • tested with NVDA

      Steps to Reproduce

      	<radiogroup orient="vertical" ca:aria-label="Some question?">
      		<radio label="yes"/>
      		<radio label="no"/>
      	</radiogroup>
      

      use browse-mode to step over radio group (using down key)

      Current Result

      the reading order is confusing

      Expected Result

      step over the individual radio items one by one

      Debug Information

      the aria-owns attribute should only be set if the radio items are NOT nested inside the radio group
      https://www.w3.org/TR/wai-aria/#radio

      seems to be a side effect of ZK-3818

      Workaround

      override the method setting the aria-owns attribute if not needed.

      <radiogroup orient="vertical" ca:aria-label="Some question?"
                      w:_updateAriaOwns="zk.$void">
      	<radio label="yes"/>
      	<radio label="no"/>
      </radiogroup>
      

            Leon03 Leon03
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: