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

Menu and MenuItem Accessibility

    XMLWordPrintable

Details

    • be4eaca053eba747c0458e37ce68ae3db1e6a288

    Description

      This is with regards to Desktop development.

      1) We are using QtQuick Controls 2 MenuItem, however the element is not accessible on macOS. We noticed that the QAccessible::MenuItem role is explicitly ignored in
      /qt/qtbase/src/plugins/platforms/cocoa/qcocoaaccessibility.mm. We have made a local fix, but can you get this fix in your next release?
       
      2) Menu items are children of the Menu in the QML tree but they aren’t children of the Menu in the accessibility tree. MenuItem QAccessible instances aren’t children of the Menu’s QAccessible instance; instead, we notice that they are direct children of the top window. This is for both Windows and macOS.
       
      3) We are using a Button to show our menu. We would like a way to have the button toggle (open/close) the menu when button is clicked.

       

      Attachments

        1. ToggleMenu.png
          ToggleMenu.png
          15 kB
        2. Screen Shot .png
          Screen Shot .png
          115 kB
        3. MenuItem.zip
          5 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            frederik Frederik Gladhorn
            brchua Brittany Chua
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes