[SRU] Orca is skipping key details of the updates list

Bug #1105371 reported by Dylan McCall
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
High
Nathan Teodosio
Focal
Won't Fix
Undecided
Unassigned
Jammy
Won't Fix
Undecided
Unassigned
Noble
New
Undecided
Nathan Teodosio
Oracular
New
Undecided
Nathan Teodosio

Bug Description

[Impact]

Orca, the screen reader, correctly reads the name of each update in update-manager's list, but it never reads the toggle cell in the Install column. This means a vision-impaired user has no way of knowing which updates are selected and which are not.

It also does not announce the update message while update-manager is checking for updates.

[Test plan]

*Unmute your speakers.
*If apt list --upgradable is empty, downgrade any package.
*Start orca.
*Start update-manager.

In the initial state of the window, it's checking for new updates. Verify that the screen reader announces that fact as "checking for updates".

Once it is done, the list of packages that can be upgraded is displayed. Verify that the lines are spoken by the screen reader as you focus them (either with the keyboard or with the mouse), as well as their selection state. I.e., if the check-box corresponding to a package is checked, the screen reader should say "selected" for that package, and if unchecked, it should say "unselected".

[What could go wrong]

Screen reading capabilities of other elements of update-manager could be negatively impacted.

Tags: a11y patch raring

Related branches

description: updated
Revision history for this message
Dylan McCall (dylanmccall) wrote :

I'll keep this up to date on what I find, but since I didn't mention in the description: I think this one is going to be harder than it looks.

First, probably worth mentioning that Orca also does not mention the other image inside the Install column. Right now, when I select a row in the updates list, it says "Image, System Settings, Expanded - three Items, 12.5 MB". If it was reading all of the cells, it would say something like "Image, Checkbox - ticked, Image, System Settings, Expanded - three Items, 12.5 MB". If all was right in the world, it would skip both of those images and say (at least) "Checkbox - ticked, System Settings, Expanded - three Items, 12.5 MB". If I change the order of those cells inside the Install column (and use Gtk.CellAreaBox instead of CellAreaPackage), Orca _still_ reads the label cell. The screen reader does mention the toggle cell correctly if it is in its own column, but that is quite unattractive.

I poked at Software Updater with Accerciser and it looks like the stuff inside the Install column all reaches it correctly. The toggle cell inside our GtkCellArea looks exactly like a toggle cell in its own column, except nested a little deeper. I'm hoping that is helpful for someone who knows anything about accessibility. (Eg: Not me). :)

tags: added: a11y raring
Changed in update-manager (Ubuntu):
importance: Undecided → High
peterstan (stasnel)
Changed in update-manager (Ubuntu):
status: New → Fix Released
Changed in update-manager (Ubuntu):
status: Fix Released → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

The checkboxes and their status is still not described in 24.10

Changed in update-manager (Ubuntu):
assignee: nobody → Nathan Teodosio (nteodosio)
Revision history for this message
Nathan Teodosio (nteodosio) wrote :

Trying to fix this I found your question so linking here: https://stackoverflow.com/questions/14223296/with-gtk3-how-do-i-make-a-tree-view-accessible. Disappointingly it is still unanswered.

Revision history for this message
Nathan Teodosio (nteodosio) wrote : .

The attached proof-of-concept (which I also pushed to [1]) works at least in
simple cases. I need more updates to be available to test in a more complex
scenario. But as the original reporter says, using path.get_indices()[0] to set
each row's accessible description does not look very robust.

In any case, the last hunk of the patch tries to convince the screen reader to
announce when the user toggles a check-box, but all attempts fail.

You can check the screen recording attached for clarity.

[1]https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+ref/a11y-read-checkbox-state

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: Orca is skipping key details of the updates list

This bug was fixed in the package update-manager - 1:25.04.4

---------------
update-manager (1:25.04.4) plucky; urgency=medium

  * Fix linter "E501 line too long".

 -- Nathan Pratta Teodosio <email address hidden> Thu, 09 Jan 2025 21:01:45 +0100

Changed in update-manager (Ubuntu):
status: Confirmed → Fix Released
summary: - Orca is skipping key details of the updates list
+ [SRU] Orca is skipping key details of the updates list
Changed in update-manager (Ubuntu Jammy):
status: New → Won't Fix
Changed in update-manager (Ubuntu Focal):
status: New → Won't Fix
Changed in update-manager (Ubuntu Noble):
assignee: nobody → Nathan Teodosio (nteodosio)
Changed in update-manager (Ubuntu Oracular):
assignee: nobody → Nathan Teodosio (nteodosio)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.