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

[Accessibility] Add a flag to remove a QWidget from the accessibility tree

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • 5.13.1
    • None

    Description

      There are cases in which QWidgets are non focusable and added just for cosmetic purposes (icons, indicators etc) and there is no way to mark the widget so that it won't appear in the accessibility tree. This is possible with the aria-hidden attribute.

      It would be useful to have a flag on QWidget which could be used in childWidgets in qaccessiblewidget.cpp to avoid adding the child.

      Similarly it would be very handy to have an option to "inline" the children of a widget in the accessibility tree, since there are many cases of widget wrappers, or widgets used just to group children in a layout, that shouldn't be exposed in the accessibility tree as group.

      Attachments

        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
            bizcot Marco Francescangeli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes