Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.1
-
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.