https://bugs.documentfoundation.org/show_bug.cgi?id=164294

            Bug ID: 164294
           Summary: a11y: Pattern editor list in Impress "Slide
                    Properties" dialog reports incorrect accessible child
                    index
           Product: LibreOffice
           Version: 25.2.0.0 alpha0+
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: accessibility
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]
            Blocks: 101912

Created attachment 198078
  --> https://bugs.documentfoundation.org/attachment.cgi?id=198078&action=edit
Screenshot of current behavior shown in Accerciser

# Steps to reproduce when using the qt6 VCL plugin on Linux:

1) start Impress
2) "Slide" > "Slide Properties"
3) switch to the "Background" tab
4) select "Pattern"
5) start Accerciser ( https://gitlab.gnome.org/GNOME/accerciser )
6) in Accerciser's treeview of the LO a11y hierarchy, navigate to and select
the object representing the "Pattern Editor" (with role "list")
7) in Accerciser's IPython console: print the child index of the object

# Actual result:

A child index of -1 is reported.

    In [1]: acc.get_index_in_parent()
    Out[1]: -1

This is wrong, because the object has a parent, and is the first child (i.e.
the child at index 0) of that parent:

    In [2]: acc.get_parent().get_child_at_index(0) == acc
    Out[2]: True

# Expected result:

The correct child index of 0 should be reported on the accessibility layer

The attached screenshot shows the current behavior.

Reporting incorrect indices can break assistive technology logic, e.g. breaks
Accerciser's "Select object under mouse" or bookmark feature.


Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ba767f634384c7dca5cb42364e51bc1a8dbd1835
CPU threads: 32; OS: Linux 6.11; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=101912
[Bug 101912] [META] Accessibility (a11y) bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to