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

            Bug ID: 155447
           Summary: Add accessible object attributes to LO spellcheck
                    dialog components for reliable identification by ATs
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Orca has customized presentation for application spell-check dialogs:
* Announces the misspelled word, along with its spelling
* Announces the surrounding text for context
* Announces the current suggestion from the suggestion list, along with its
spelling

Because there is no spellcheck-specific accessibility API, Orca has fragile
heuristics to identify:
* Whether or not the current window/dialog is the spellcheck dialog
* The widget containing the misspelled word
* The suggestion list

Changes in the LO spellcheck dialog can -- and do -- break those heuristics. :(
And there is also the danger of false positives....

Under the circumstances, here is my proposal to make things a bit better, both
for Linux and for Windows: Add accessible object attributes to the LO
spellcheck dialog components so that ATs could identify them. For instance:

* On the dialog: is-spellcheck-dialog:true
* On the suggestions list: is-suggestions-list:true
* On the widget displaying the error: contains-error:true

Mind you, I don't care what the object attributes are as long as they are
predictable. :) And maybe after LO does this, we can convince Thunderbird and
Evolution and Gedit/Pluma and ... to use whatever those attributes happen to
be.

Because IA2 also has object attributes, NVDA, JAWS, etc. should be able to also
benefit from this solution.


Steps to Reproduce:
1. Create a document with misspelled words
2. Launch Orca (version 44.0 or earlier)
3. Press F7 for the spellcheck dialog


Actual Results:
Orca fails to announce the misspelled word, its spelling, the text surrounding
the error, the suggested correction, etc.


Expected Results:
Orca would announce the misspelled word, its spelling, the text surrounding the
error, the suggested correction, etc.



Reproducible: Always


User Profile Reset: No

Additional Info:
Apparently the spelling dialog has changed:

* The role of the window firing the window activate event
* The role of the error-message widget
* The role of the suggestions list widget
* The events fired when a suggestion has been accepted or ignored and a new
error presented
* Maybe other things?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to