Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Screen Reader Accessibility Issue on Windows: Repeats Previous Line Instead of Announcing 'Blank' for Empty Lines in PyQt6 QTextEdit and QPlainTextEdit Widgets
QtWS25 Last Chance

Screen Reader Accessibility Issue on Windows: Repeats Previous Line Instead of Announcing 'Blank' for Empty Lines in PyQt6 QTextEdit and QPlainTextEdit Widgets

Scheduled Pinned Locked Moved Unsolved Qt for Python
qt for pythonpython
4 Posts 3 Posters 265 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.
  • D Offline
    D Offline
    dark_matter_io
    wrote on last edited by
    #1

    Hello,
    I am trying to use pyQT6 and I'm testing out variety of widgets available and how accessible they are for screen reader users.

    there is a problem how screenreaders on windows is reading. multi line text from
    QTextEdit and QPlainTextEdit widgets in PyQt6 applications.

    Behavior.

    The problem is basically this, rather than reading "blank" for the emty line, it reads a previous line instead.

    for example:
    This is line 1
    And this this line 2

    it would be read like so
    This is line 1
    This is line 1
    And this this line 2

    Expected behavior:

    it should be read like so:
    This is line 1
    "blank" The spoken tekst for the new line
    And this this line 2

    Extra info

    I tested this with NVDA and Jaws screen reader on Windows, and the problem is exactly the same on both.
    Python version: 3.9
    pyQT bversion: PyQt66.7.1 (the latest version as of this post date.)
    Same behavior persists in rich text view and plain text view
    Same behavior exists whether the text editing is allowed or not.
    I posted the issue on the NVDA github NVDA Repeats Previous Line Instead of Announcing "Blank" for Empty Lines in PyQt6 applications for QTextEdit and QPlainTextEdit widgets
    and I've been told and I can confirm it's the issue with the Qt itself.
    I hope you can have a look and investigate it, because this library is great and supports accessibility quite well. However, there are some quirks that need to be looked at.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Do you have the same issue with the latest PySide6 ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dark_matter_io
        wrote on last edited by
        #3

        yes, same behavior, just tested.

        JonBJ 1 Reply Last reply
        0
        • D dark_matter_io

          yes, same behavior, just tested.

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on last edited by
          #4

          @dark_matter_io
          So this is presumably a Qt6 issue rather than PyQt/PySide/Python. You can report at https://bugreports.qt.io/secure/Dashboard.jspa

          1 Reply Last reply
          0

          • Login

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