From 117197e11d1e92e9d5eea5c4a3369c61fd5e65cc Mon Sep 17 00:00:00 2001 From: abaevbog Date: Thu, 11 Apr 2024 23:02:53 -0400 Subject: [PATCH] vpat: 1 add role="link" to links components (#3952) - added role="link" to "zotero-text-link" custom component, using that instead of directly setting the class wherever possible - in all other cases, added role="link" directly to links - added tooltiptext and "noClick" option to zotero-text-link so that this component could be used in attachmentBox.js - use "keyboard-clickable" class in zotero-text-link instead of a separate listener to handle keypresses for brevity --- chrome/content/zotero/about.xhtml | 6 +++--- .../content/zotero/elements/attachmentBox.js | 17 ++++------------- chrome/content/zotero/elements/textLink.js | 19 ++++++++++++------- chrome/content/zotero/itemTree.jsx | 1 + chrome/content/zotero/xpcom/progressWindow.js | 1 + 5 files changed, 21 insertions(+), 23 deletions(-) diff --git a/chrome/content/zotero/about.xhtml b/chrome/content/zotero/about.xhtml index 515aea4a2e..5d720e0de8 100644 --- a/chrome/content/zotero/about.xhtml +++ b/chrome/content/zotero/about.xhtml @@ -27,7 +27,7 @@