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

QML TextField reports incomplete text to VoiceOver

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      iOS 13 Beta 5
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      The TextField component seems to always omit the last character of the contained text. When introducing additional Accessibility properties (e.g. Accessible.name and Accessible.description) the incomplete text content is still read by VoiceOver (alongside the complete text assigned to Accessible.name). So the text is echoed twice, where the second time is incomplete, the specified description is not read at all.

       

      Minimal example:

      TextField {
          Accessible.role: Accessible.StaticText
          Accessible.name: text
          Accessible.description: qsTr("Textfield containing text: ") + text
          
          text: qsTr("Some text")
          readOnly: true
      }

        Attachments

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

          Activity

            People

            Assignee:
            frederik Frederik Gladhorn
            Reporter:
            janmoeller Jan Möller
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes