Re: [orca-list] On Firefox, when moving on a line, Orca reads the whole paragraph



That did it. Thanks! That's the good news.

The bad news is this: While there is actual text in the help window, that's not what we see through accessibility. When I look at it with Accerciser, I see that the content has the role of Graphic. This Graphic -- not surprisingly -- does not implement the accessible text interface. So the normal flat review code which uses the text interface to get text by units of characters, words, and lines completely fails. The reason Orca is able to present anything at all is because the entire text -- over 20 lines worth -- is exposed as the accessible name of the graphic.

So, I could spend some time (which I don't have right now) trying to implement fake text access to this thing in flat review. Or the FreeCAD people -- or perhaps the Qt a11y folks -- could fix it properly. ;)

Some general observations/suggestions:

1. Make the object with the text content tab focusable and keyboard
   navigable.

2. Nuke the "graphic" role. Maybe prefer "panel"?

3. Implement the accessible text interface. This in and of itself will
   fix the flat review problem you're experiencing. Combined with item
   1 above, it should eliminate the need to use flat review at all.

4. Don't give ginormous accessible names to objects. Names are meant to
   be short.

There's a chance item 2 may cause item 3 to happen. I have no clue, not having looked at the code (app or toolkit) in question. But some toolkits and browsers use the role to decide what accessible interfaces get implemented automatically. Maybe that's what happened here??

Lastly, I've CCed Chrys because he's active in the Qt accessibility community and also (I believe) done some hacking/patches. Maybe he can work with you to seek resolution to this problem.

Chrys: Thoughts?

--joanie

On 8/14/19 1:22 PM, Nolan Darilek wrote:
Oh, you probably also need this incantation:


flatpak override --user --env=QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1


And maybe this one as well:


flatpak override --user --talk-name="org.a11y.*"


Not sure how to integrate those into flatpak proper.


Once I did the first (and maybe the second), things worked.


On 8/14/19 12:12 PM, Joanmarie Diggs wrote:
What version? I now have 0.18 installed via flatpak install flathub org.freecadweb.FreeCAD.

--joanie


On 8/14/19 11:14 AM, Nolan Darilek wrote:
Glad I made your morning--I know from personal experience how thankless screen reader development and keeping up with accessibility APIs can be. :)


I'm actually using the FreeCAD flatpak, and it's semi-accessible in that some of the menus and toolbars seem to speak. Maybe it's built against newer QT packages than Fedora's? In any case, I definitely get an accessible window using the flatpak version.


On 8/14/19 10:04 AM, Joanmarie Diggs wrote:
Hey Nolan.

I have to confess the "Damn, you're quick" made my morning. :)

Regarding the FreeCAD issue, I installed the Fedora package and tried the FreeCAD --help. I see a window, but it's not showing up in Accerciser. It did have some Qt dependencies which it installed, but other Qt apps are accessible for me (e.g. Kate). So.... Would you happen to have any hints regarding what I need to do/install to have this FreeCAD help window accessible so that I can debug why Orca is treating the help content as a single line?

Thanks!
--joanie

On 8/14/19 9:42 AM, Nolan Darilek wrote:
Damn, you're quick. :)


My GitLab pipeline now reads fine. Thanks!


The FreeCAD issue is something different then. I just noticed it this morning, and lumped it in with the web behavior since the symptoms seemed similar.


On 8/14/19 8:39 AM, Alex ARNAUD via orca-list wrote:
I confirm that it is now fixed. Thanks.

Best regards,
Alex.

Le 14/08/2019 à 15:32, Joanmarie Diggs a écrit :
Should hopefully be fixed now.
--joanie

On 8/14/19 8:51 AM, Alex ARNAUD via orca-list wrote:
Hello,

Environment:
- Debian 9 "Stretch"
- Firefox 68
- Orca master

Steps to reproduce:
1) Open this page: https://www.clubic.com/pc-portable/actualite-866407-samsung-galaxy-book-ordinateur-arm-autonomie-dementielle.html 2) Place the cursor on the header "Un ultrabook autonome et toujours connecté"
3) Move the cursor the line after the header

Result:
Orca reads multiple lines

Expected result:
Orca should only read "Le Galaxy Book S embarque la nouvelle puce Qualcomm"

Best regards,
Alex.
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html



_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]