Commit c2fa1cf1 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Announce empty cells of user ID rows as "User ID"

This way people using screen readers don't wonder why the screen reader
doesn't say anything when they navigate from a certification row to a
user ID row.

GnuPG-bug-id: 6102
parent 07e762ca
Pipeline #211470 passed with stage
in 1 minute and 30 seconds
......@@ -87,7 +87,20 @@ public:
, mUid{uid}
{
mItemData = {Formatting::prettyUserID(uid)};
// mAccessibleText is explicitly left empty
// for the empty cells of the user ID rows we announce "User ID"
mAccessibleText = {
{}, // use displayed user ID
i18n("User ID"),
i18n("User ID"),
i18n("User ID"),
i18n("User ID"),
i18n("User ID"),
i18n("User ID"),
i18n("User ID"),
#ifdef GPGMEPP_SUPPORTS_TRUST_SIGNATURES
i18n("User ID"),
#endif
};
}
// The root item
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment