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

macOS: QToolButton/QPushButton menu is "invisible" to VoiceOver

    XMLWordPrintable

Details

    • macOS

    Description

      When a QPushButton or a QToolButton have a menu set, and when the button is activated, the menu is ignored by VoiceOver.

      Attached is a modified window.cpp from the flowlayout example. To reproduce the issue:

      • start VoiceOver
      • run the example
      • use the tab key to navigate to the button
      • press space

      The menu will appear, but the VoiceOver focus is still on the button, and there is no "vocal" indication that something happened. Attached is a screenshot of how this looks on screen.

      If you hit the down-arrow key now, the first menu item will be selected, but VoiceOver re-reads the assistive text of the button. It looks like the input focus and the VoiceOver focus are off at this point.

      Attachments

        1. Screenshot 2025-05-15 at 16.36.01.png
          56 kB
          Erik Verbruggen
        2. window.cpp
          0.8 kB
          Erik Verbruggen
        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
            erikv Erik Verbruggen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes