Page MenuHome GnuPG

Kleopatra: make table column headings accessible
Open, NormalPublic

Description

A request from the external a11y test report regarding the tables in Kleopatra (especially the certificate list) is to make the show/hideable column headings accessible for blind users.

Recommendation:
▪ Blind users should be able to fully perceive all content.
▪ The tables should be given the focus via TAB and then navigation should be within the table using the arrow keys.
▪ Column headings in data tables should be labeled as such

Ingos comment:
The selection of visible columns and sorting should be possible additionally via the main menu. And which column is selected for sorting could be transmitted to the screen reader as additional info to the column header.

Edit 2025-07-22:
We decided to place the a11y way to configure the displayed certificate list columns in the "View" menu. Additionally the sort order should be configurable there accessibly, too.
This was not discussed, but I imagine we should do this via radio buttons in a sub menu like in the new "Color Scheme" menu item.

Update 2025-10-27:
Since we use tables with configurable columns in many places we'll also have to add those menu entries to the context menus of those tables.

Event Timeline

aheinecke added a subscriber: aheinecke.

I think the priority is low because the optional columns are not really that useful for most users and were mostly added as a "nice to have" feature. The details are in doubt available e.g. through the certificatedetails widget.

ebo raised the priority of this task from Low to Normal.Jul 22 2025, 2:32 PM
ebo updated the task description. (Show Details)
ebo edited projects, added gpd5x, vsd34; removed Restricted Project.
ebo added a subscriber: alexk.
ikloecker mentioned this in Unknown Object (Maniphest Task).Jul 28 2025, 3:14 PM
ikloecker added a parent task: Unknown Object (Maniphest Task).
ikloecker mentioned this in Unknown Object (Maniphest Task).Jul 28 2025, 3:19 PM
ikloecker added a parent task: Unknown Object (Maniphest Task).Jul 28 2025, 3:22 PM
TobiasFella mentioned this in Unknown Object (Maniphest Task).Aug 25 2025, 9:47 AM
TobiasFella mentioned this in Unknown Object (Maniphest Task).Sep 1 2025, 9:40 AM
TobiasFella mentioned this in Unknown Object (Maniphest Task).Sep 15 2025, 9:56 AM
TobiasFella mentioned this in Unknown Object (Maniphest Task).Sep 22 2025, 9:48 AM
TobiasFella mentioned this in Unknown Object (Maniphest Task).Sep 29 2025, 9:25 AM
ikloecker mentioned this in Unknown Object (Maniphest Task).Oct 6 2025, 9:16 AM
TobiasFella mentioned this in Unknown Object (Maniphest Task).Oct 13 2025, 9:55 AM
ebo changed the edit policy from "All Users" to "Contributor (Project)".Oct 20 2025, 4:14 PM
ebo set External Link to https://invent.kde.org/pim/kleopatra/-/merge_requests/418.
ebo moved this task from Backlog to WIP on the gpd5x board.
TobiasFella changed the task status from Open to Testing.Oct 28 2025, 12:01 PM
TobiasFella mentioned this in Unknown Object (Maniphest Task).Mon, Nov 3, 9:58 AM
timegrid added a subscriber: timegrid.

Looks good to me on gpg4win-5.0.0-beta413 @ win11.

Questions:

  • Column sort order and visibility can be configured only via view and nowhere else. That's how it should be, right?
  • Column display order can't be configured via menu, but that's ok, right?

Notes:

  • A visual hint for the currently active cell in the table would be very nice - both for visually impaired (not blind) people and keyboard users (e.g. copy via ctrl+c does work fine for cells)
  • A reset option might be useful (reset to default visibility/sorting)

Done:

  • Table is tab accessible and arrow navigation works

tab control
All  tab  Alt+  A
tab
Certificates  tree view  Hierarchical list of certificates
Berta Boss  level 1
down arrow
Conny-cv25519  row 3  level 1
down arrow
Dan-DSA2048  row 4  level 1
down arrow
Edward Tester  row 5  level 1
right arrow
Edward.Tester@demo.gnupg.com  E-Mail  column 2  level 1
up arrow
no email  row 4  level 1
right arrow
certified  Status  column 3  level 1
down arrow
certified  row 5  level 1
right arrow
8 March, 2023  Valid From  column 4  level 1
  • Column sort order and visibility can be configured via view (and it works as expected)


timegrid changed the task status from Testing to Open.Fri, Nov 21, 4:36 PM
timegrid moved this task from Done to WIP on the gpd5x board.

I also tried to check all tables i can find and it mostly looks good:

  • Certificates Lists:
    • Main
    • Import ("Show imported")
    • Cert Selection (e.g. Sign as)
    • Keyserver Lookup
    • Smartcard
    • Groups (both available and in group)
  • Certificate Details
    • User IDs
    • Sub-keys
    • Certifications

Issues Found

  • Collapsible items in tree views can't be expanded/collapsed, at least not with space or arrow left/right
  • Also in tree views I'm not sure, if the output is understandable (there's no info on the hierarchy)

Certifications  tab  Alt+  C
tab
User IDs and certifications  tree view
Udo-UID  expanded  level 1
down arrow
1 D 3 C, 5 E 6 E, 3 D B 3, C 7 1 D  row 2  level 1
down arrow
0 6 E 2, 8 F 5 F, B 5 2 9, 7 4 8 9  row 3  level 1
down arrow
4 5 8 6, 1 2 0 0, 6 D 8 E, 6 F 0 D  row 4  level 1
down arrow
C 5 D 6, C 9 1 9, 0 0 5 F, 3 6 A 4  row 5  level 1
down arrow
Udo-Nutzerkennung  expanded  row 6  level 1
down arrow
1 D 3 C, 5 E 6 E, 3 D B 3, C 7 1 D  row 7  level 1
  • Tab navigation in the Smartcard Dialog is broken: If the focus is once in the table, (Shift+)Tab will navigate the table items (up/down) instead of next/previous elements

Remaining attempts:  PIN: 3, PUK: 0, Admin PIN: 3  <html>Shows the number of remaining attempts for entering the correct PIN or PUK.</html>  Alt+  R
tab
card keys and certificates  tree view
Signature Key  not selected  row 1  Card Slot  column 1  level 1
tab
selected
Actions  button  Show actions available for this smart card slot
shift+tab
card keys and certificates  tree view
Actions  column 9  level 1
Actions  button  Show actions available for this smart card slot
shift+tab
card keys and certificates  tree view
level 1
Actions  button  Show actions available for this smart card slot
shift+tab
card keys and certificates  tree view
level 1
Actions  button  Show actions available for this smart card slot

Questions:

  • Column sort order and visibility can be configured only via view and nowhere else. That's how it should be, right?

What do you mean? Sort order is changed by clicking on a column header and visibility via the context menu of the column headers. If you are asking about other tables then you are correct that those cannot be customized in an easily accessible way and we should create a new ticket for this.

  • Column display order can't be configured via menu, but that's ok, right?

Yes, I think that's okay. Column width also cannot be changed with the keyboard (which might actually be a more serious problem than the column order for people who cannot use a mouse). Looks like we need another ticket.

Notes:

  • A visual hint for the currently active cell in the table would be very nice - both for visually impaired (not blind) people and keyboard users (e.g. copy via ctrl+c does work fine for cells)

Let's make a ticket for this for prioritization.

  • A reset option might be useful (reset to default visibility/sorting)

The reset option is available: rm -rf ~/.../kleopatrastaterc. ;-)

  • Column sort order and visibility can be configured only via view and nowhere else. That's how it should be, right?

What do you mean?

The description says: The selection of visible columns and sorting should be possible **additionally** via the main menu.
I just wanted to make sure, "additionally" means additionally to the normal (non a11n accessible) context menu and not some other (a11n accessible) place i haven't found.

The reset option is available: rm -rf ~/.../kleopatrastaterc. ;-)

With current improvements in agentic AI this might count as accessible :P


I'll create new tickets for the new issues.

  • Column sort order and visibility can be configured only via view and nowhere else. That's how it should be, right?

What do you mean?

The description says: The selection of visible columns and sorting should be possible **additionally** via the main menu.
I just wanted to make sure, "additionally" means additionally to the normal (non a11n accessible) context menu and not some other (a11n accessible) place i haven't found.

Yes, additionally to the column header context menu.

New tickets split from this:

Still open in this ticket (see https://dev.gnupg.org/T6568#208755 ):

  • Collapsible items in tree views can't be expanded/collapsed, at least not with space or arrow left/right
  • Tab navigation in the Smartcard Dialog is broken

Still open in this ticket (see https://dev.gnupg.org/T6568#208755 ):

  • Collapsible items in tree views can't be expanded/collapsed, at least not with space or arrow left/right

They can be expanded/collapsed with +/-. Expanding/collapsing with left/right is explicitly disabled because we need left/right for column-wise navigation.