setAccessibleDescription() on tooltip window
-
I have a BalloonTip class derived from QWidget. The constructor looks like this:
BalloonTip::BalloonTip( QWidget* parent, const QString& title, const QString& message ) : QWidget( parent, Qt::ToolTip ) { ... }
I pop this windows up at certain points to provide guidance first time Easy Data Transform users. However this window does not work well with the Mac VoicerOver application used by some non-sighted and partially sighted users. It just says 'new window' when the balloon window appears. Calling setAccessibleDescription() or setAccessibleName() makes no difference. It works better if I pass Qt::Dialog instead of Qt:ToolTip in the constructor. But then it looks all wrong. Any ideas?
-
Hi,
Which version of Qt are you using ?
Can you provide a minimal compilable example that shows this behaviour ? -
Hi,
Which version of Qt are you using ?
Can you provide a minimal compilable example that shows this behaviour ?Hi @SGaist
I am on Qt 5.15.2 and testing on macOS 10 and 11. Just Press Cmd-f5 to enter voice over mode and hover over any QWidget with tooltip text (e.g. a QPushButton). It just says 'new window' when the tooltip window appears. This is not helpful for users. It should probably say nothing.