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

Links in Text are not keyboard accessible/navigatable

XMLWordPrintable

      There is no way to access links through keyboard (or through accessibility interfaces). For example tabbing through links in them and activating a link by enter key. There isn't even any API to get link regions out so one cannot do custom handling for them either.

      import QtQuick
      import QtQuick.Controls
      ApplicationWindow {
          width: 1500
          height: 1500
          visible: true
          Text {
              text: "foo <a href=\"bar\">bar</a>"
              onLinkActivated: console.log("link activated")
          }
      }
      

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

            sorvig Morten Sørvig
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes