[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
Fix Released
Undecided
Nathan Teodosio
Oracular
Fix Released
High
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.

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
Changed in update-manager (Ubuntu Oracular):
importance: Undecided → High
status: New → Fix Committed
Changed in update-manager (Ubuntu Noble):
status: New → Fix Committed
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Dylan, or anyone else affected,

Accepted update-manager into oracular-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/update-manager/1:24.10.7 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-oracular to verification-done-oracular. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-oracular. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-oracular
tags: added: verification-needed-noble
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Dylan, or anyone else affected,

Accepted update-manager into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/update-manager/1:24.04.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (update-manager/1:24.04.10)

All autopkgtests for the newly accepted update-manager (1:24.04.10) for noble have finished running.
The following regressions have been reported in tests triggered by the package:

ubuntu-release-upgrader/1:24.04.26 (s390x)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/noble/update_excuses.html#update-manager

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

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

In 24.04,

*Unmuted speakers.
*If apt list --upgradable was not empty.
*Started orca.
*Started update-manager.

In the initial state of the window, it was checking for new updates. The screen reader did not announce that fact as "checking for updates".

tags: added: verification-failed-noble
removed: verification-needed-noble
Revision history for this message
Nathan Teodosio (nteodosio) wrote :

Same failure in 24.10.

tags: added: verification-failed verification-failed-oracular
removed: verification-needed verification-needed-oracular
Revision history for this message
Nathan Teodosio (nteodosio) wrote :

24.04.11 and 24.10.8 are in the unapproved queue to correct this failure.

Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Dylan, or anyone else affected,

Accepted update-manager into noble-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/update-manager/1:24.04.12 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-noble to verification-done-noble. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-noble. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

tags: added: verification-needed verification-needed-noble
removed: verification-failed verification-failed-noble
tags: added: verification-needed-oracular
removed: verification-failed-oracular
Revision history for this message
Chris Halse Rogers (raof) wrote :

Hello Dylan, or anyone else affected,

Accepted update-manager into oracular-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/update-manager/1:24.10.9 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-oracular to verification-done-oracular. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-oracular. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

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

In 24.04, I installed update-manager .12 (from proposed).

*Unmuted the speakers.
*'apt list --upgradable' was not empty.
*Started orca.
*Started update-manager.

The screen reader announced "checking for updates" when the update-manager's window was mapped and then correctly read the name and selection state of the focused group when I selected it, as well as announced "unselected" when I unselected it. Recording attached.

tags: added: verification-done verification-done-noble
removed: verification-needed verification-needed-noble
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

verification for oracular is missing

Revision history for this message
Julian Andres Klode (juliank) wrote :

Verification for oracular:

On a fresh oracular image it starts as:

update-manager frame
2%
100%

then for items it said the name and size and collapsed or not.

*After* upgrading to 24.10.9 from proposed it says:

checking for updates
update-manager frame
2%
100%

selecting an item it says the name,collapsed or not, size, select status such as

LibreOffice Calc (2), collapsed, 9.2 MB, selected.

at any level. Toggling a checkbox, it announces the new state.

tags: added: verification-done-oracular
removed: verification-needed-oracular
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
update-manager (1:24.10.9) oracular; urgency=medium

  * test_update_origin.py: Update to noble, and packaged archive keys
    (LP: #2109339)
  * test_update_origin: close the dpkg status file when tearing down
    (also tracked in LP: #2109339)

update-manager (1:24.10.8) oracular; urgency=medium

  * Screen reader: announce status header for update dialogue (LP: #1105371).
    Although that was claimed to be fixed in the prevoius version, the part
    of the patch corresponding to it was actually left behind.

update-manager (1:24.10.7) oracular; urgency=medium

  * When all packages are unselected, install button goes away; Fix it not coming back
    after once a package is selected again (LP: #2068805).
  * Screen reader: announce status header for update dialogue and checkbox
    state when the highlighted package changes or is toggled. (lp: #1105371)

 -- Julian Andres Klode <email address hidden> Fri, 25 Apr 2025 15:14:08 +0200

Changed in update-manager (Ubuntu Oracular):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for update-manager has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
update-manager (1:24.04.12) noble; urgency=medium

  * test_update_origin.py: Update to noble, and packaged archive keys
    (LP: #2109339)
  * test_update_origin: close the dpkg status file when tearing down
    (also tracked in LP: #2109339)

update-manager (1:24.04.11) noble; urgency=medium

  * Screen reader: announce status header for update dialogue (LP: #1105371).
    Although that was claimed to be fixed in the prevoius version, the part
    of the patch corresponding to it was actually left behind.

update-manager (1:24.04.10) noble; urgency=medium

  * When all packages are unselected, install button goes away; Fix it not
    coming back after once a package is selected again (LP: #2068805).
  * Screen reader: announce status header for update dialogue and checkbox
    state when the highlighted package changes or is toggled.
    (lp: #1105371)

 -- Julian Andres Klode <email address hidden> Fri, 25 Apr 2025 15:16:13 +0200

Changed in update-manager (Ubuntu Noble):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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