Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131404

Divergent a11y order of ApplicationWindow properties

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5.3, 6.7.2
    • None
    • iOS/tvOS/watchOS

    Description

      The order of the a11y elements seems to differ between platforms when setting the menuBar, header, and footer properties and some actual content. On Android and macOS, the a11y order corresponds to the visual order. When cycling the a11y elements the order is:

      menuBar > header > contentItem > footer

      Whereas on iOS the order is different:

      menuBar > header > footer > contentItem

      This is rather confusing for users which require the assistive technology as they will have to go all the way "back" to the footer Item after moving through the actual content of the ApplicationWindow. Especially if the footers contains some Tab-like navigation.

      This small MWE can be used to show the different behavior.

      import QtQuick
      import QtQuick.Controls
      
      ApplicationWindow {
      	id: root
      
      	flags: Qt.Window
      	visible: true
      
      	footer: A11yText {
      		text: "This is the footer"
      	}
      	header: A11yText {
      		text: "This is the header"
      	}
      	menuBar: A11yText {
      		text: "This is the menuBar"
      	}
      
      	A11yText {
      		text: "This is the actual content"
      	}
      
      	component A11yText: Text {
      		Accessible.name: text
      		Accessible.role: Accessible.StaticText
      	}
      }
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            janmoeller Jan Möller
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes