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

QAccessible::Help Is Not Mapped to VoiceOver on Mac

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 5.15.0
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      macOS
    • Commits:
      59836c96804855745bda4cb9090423d62f90ded0 (qt/qtbase/dev)

      Description

      QAccessible::Help is not being sent to VoiceOver on MacOS.
      If you insert the following method in 'Qt/5.15.0/Src/qtbase/src/plugins/platforms/cocoa/qcocoaaccessibilityelement.mm', you can send QAccessible::Help to VoiceOver as accessibilityHelp.

      - (NSString *) accessibilityHelp {
       QAccessibleInterface *iface = QAccessible::accessibleInterface(axid);
       if (!iface || !iface->isValid())
       return nil;
       if (iface->text(QAccessible::Help) != nil) {
       return iface->text(QAccessible::Help).toNSString();
       }
       return nil;
      }
      
      

      VO will automatically read the help message after a delay specified in VO setting.
      Also you can read it manually with vo+shift+h.

        Attachments

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

          Activity

            People

            Assignee:
            smd Jan Arve
            Reporter:
            chibop Chi Kim
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There is 1 open Gerrit change