From 576e50552bac1292e5a9a237e9904cc262396efd Mon Sep 17 00:00:00 2001 From: abaevbog Date: Mon, 2 Sep 2024 01:46:51 -0700 Subject: [PATCH] vpat 25/46: announce section headers of settings (#4434) - explicitly add aria-labels to groupbox and vbox sections of the settings. It's required for voiceover to announce that label when focus enters the group. It's not needed for NVDA and JAWS as they recognize most h2 labels as labels of grouppings. - add all relevant additionl text for the section as aria-description/aria-describedby so it is announced after the section's name when focus enters it - add role="group" to vbox sections, since vbox does not have any semantics - skip tabstop on scrollable "#prefs-content" container since it is not required --- .../zotero/preferences/preferences.xhtml | 2 +- .../preferences/preferences_advanced.xhtml | 28 +++++++++---------- .../zotero/preferences/preferences_cite.xhtml | 10 +++---- .../preferences/preferences_export.xhtml | 2 +- .../preferences/preferences_general.xhtml | 26 ++++++++--------- .../zotero/preferences/preferences_sync.xhtml | 13 +++++---- 6 files changed, 41 insertions(+), 40 deletions(-) diff --git a/chrome/content/zotero/preferences/preferences.xhtml b/chrome/content/zotero/preferences/preferences.xhtml index a4ab4d1f20..83880a349a 100644 --- a/chrome/content/zotero/preferences/preferences.xhtml +++ b/chrome/content/zotero/preferences/preferences.xhtml @@ -92,7 +92,7 @@ hidden="true"/> - +