https://bugs.freedesktop.org/show_bug.cgi?id=70588

          Priority: medium
            Bug ID: 70588
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Accessible labels in alerts claim to be
                    ROLE_PASSWORD_TEXT instead of ROLE_LABEL
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: jdi...@igalia.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.1.2.3 release
         Component: Writer
           Product: LibreOffice

Created attachment 87800
  --> https://bugs.freedesktop.org/attachment.cgi?id=87800&action=edit
pyatspi listener

Steps to reproduce:

1. Launch the attached pyatspi listener in a terminal.

2. Create a new document in Writer with the following two lines:

   Helllo World.
   This is a test.

3. With the caret at the end of "test.", Press F7 to begin spell checking.

4. You will be asked if you want to start the check at the beginning. Press the
"Yes" button.

5. Press the "Correct" button to change "Helllo" into "Hello."

6. Press the "OK" button when the spell check is completed.

7. Press Alt+F4 to quit (which will prompt you to save).

Expected results: When the pyatspi listener prints out the alert windows and
their contents, there will be no objects of ROLE_PASSWORD_TEXT because there
are no password text objects* present.

Actual results: Every accessible label claims to be of ROLE_PASSWORD_TEXT.
Aside from that being confusing, it makes the text be exposed by Gtk+ to
assistive technologies as asterisks. Thus Orca could not present the contents
even if it knew the objects were really labels.

$ ./window-activated.py
[alert | LibreOffice 4.1.2.3]
   0. [push button | Yes]
   1. [push button | No]
   2. [icon | ]
   3. [password text | ]
[alert | LibreOffice 4.1.2.3]
   0. [push button | OK]
   1. [icon | ]
   2. [password text | ]
[alert | Save document]
   0. [filler | ]
   1. [filler | ]
   2. [push button | Close without saving]
   3. [push button | Cancel]
   4. [push button | Save]
   5. [panel | ]
   6. [icon | ]
   7. [password text | ]
   8. [password text | ]

(And in answer to the inevitable question: I'm building LibreOffice master as I
write this. If the build succeeds, I'll update this bug to indicate if the
issue is still present. But historically, issues like this remain present until
reported. So I'm filing it now. :) )

*A password text object is one which is editable and whose text is displayed as
bullets or asterisks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to