Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to stop screen reader(Narrator) from reading password field in QML
Forum Updated to NodeBB v4.3 + New Features

How to stop screen reader(Narrator) from reading password field in QML

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 181 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Ajay Krishna
    wrote on last edited by
    #1

    Hi I have developed a QML app for windows 10 where windows narrator can reads contents of my app (Screen). Now i want narrator not to read text i am entering in password field . can someone help in managing this ?

    I have tried same with QLinedit where if i set lineedit to password mode and start typing narrators says hidden and whereas in case of TextInput it reads the keys i type even i set it to echoMode: TextInput.Password .

    I have attached the sample code .

    TextInput{
    width: 240
    text: ""
    font.family: "Helvetica"
    font.pointSize: 20
    color: "blue"
    focus: true
    Accessible.name: ""
    Accessible.description: ""
    Accessible.passwordEdit: true
    Accessible.ignored: true

    echoMode: TextInput.Password
    }

    aha_1980A 1 Reply Last reply
    0
    • A Ajay Krishna

      Hi I have developed a QML app for windows 10 where windows narrator can reads contents of my app (Screen). Now i want narrator not to read text i am entering in password field . can someone help in managing this ?

      I have tried same with QLinedit where if i set lineedit to password mode and start typing narrators says hidden and whereas in case of TextInput it reads the keys i type even i set it to echoMode: TextInput.Password .

      I have attached the sample code .

      TextInput{
      width: 240
      text: ""
      font.family: "Helvetica"
      font.pointSize: 20
      color: "blue"
      focus: true
      Accessible.name: ""
      Accessible.description: ""
      Accessible.passwordEdit: true
      Accessible.ignored: true

      echoMode: TextInput.Password
      }

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @Ajay-Krishna,

      you already have a topic for that question: https://forum.qt.io/topic/111358/how-to-stop-screen-reader-narrator-from-reading-password-field-in-qml

      Please stick there. There is also a last comment which you didn't answer yet.

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved