From ed7537d4301de196603f51d451b498f53b050e77 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 30 Aug 2016 17:49:17 -0400 Subject: [PATCH] (html) Add missing ARIA labels --- UI/Contacts/English.lproj/Localizable.strings | 5 ++- .../English.lproj/Localizable.strings | 3 ++ .../English.lproj/Localizable.strings | 9 +++++ .../ContactsUI/UIxContactFoldersView.wox | 11 ++++--- .../PreferencesUI/UIxAccountEditor.wox | 3 +- UI/Templates/PreferencesUI/UIxPreferences.wox | 10 ++++-- .../UIxAppointmentViewTemplate.wox | 33 ++++++++++++++----- .../SchedulerUI/UIxReminderEditor.wox | 6 ++-- 8 files changed, 59 insertions(+), 21 deletions(-) diff --git a/UI/Contacts/English.lproj/Localizable.strings b/UI/Contacts/English.lproj/Localizable.strings index 0e5b11701..6dce6e5e1 100644 --- a/UI/Contacts/English.lproj/Localizable.strings +++ b/UI/Contacts/English.lproj/Localizable.strings @@ -249,4 +249,7 @@ "Sucessfully subscribed to address book" = "Sucessfully subscribed to address book"; /* Aria label for scope of search on contacts */ -"Search scope" = "Search scope"; \ No newline at end of file +"Search scope" = "Search scope"; + +/* Aria label for avatar button to select and unselect a card */ +"Toggle item" = "Toggle item"; diff --git a/UI/PreferencesUI/English.lproj/Localizable.strings b/UI/PreferencesUI/English.lproj/Localizable.strings index 3d7d3bb51..87d8b7f4f 100644 --- a/UI/PreferencesUI/English.lproj/Localizable.strings +++ b/UI/PreferencesUI/English.lproj/Localizable.strings @@ -292,6 +292,9 @@ "Connection error" = "Connection error"; "Service temporarily unavailable" = "Service temporarily unavailable"; +/* Aria label for filter enable checkbox */ +"Enable filter" = "Enable filter"; + /* Filters - UIxFilterEditor */ "Filter name" = "Filter name"; /* Button label */ diff --git a/UI/Scheduler/English.lproj/Localizable.strings b/UI/Scheduler/English.lproj/Localizable.strings index 0dd662120..f3d76c9ab 100644 --- a/UI/Scheduler/English.lproj/Localizable.strings +++ b/UI/Scheduler/English.lproj/Localizable.strings @@ -366,6 +366,15 @@ "zoom_50" = "50%"; "zoom_25" = "25%"; +/* Arial label for reminder units */ +"Reminder units" = "Reminder units"; + +/* Aria label for reminder time position (after or before) */ +"Reminder position" = "Reminder position"; + +/* Aria label for reminder relation with event (start or end) */ +"Reminder relation" = "Reminder relation"; + /* transparency */ "Show Time as Free" = "Show Time as Free"; diff --git a/UI/Templates/ContactsUI/UIxContactFoldersView.wox b/UI/Templates/ContactsUI/UIxContactFoldersView.wox index 9efe4b236..737cef02e 100644 --- a/UI/Templates/ContactsUI/UIxContactFoldersView.wox +++ b/UI/Templates/ContactsUI/UIxContactFoldersView.wox @@ -50,6 +50,7 @@
@@ -450,10 +452,11 @@ + aria-disabled="true" + ng-if="currentCard.$isCard()" + sg-email="currentCard.$preferredEmail(addressbook.selectedFolder.constructor.$query.value)" + sg-src="currentCard.photoURL" + size="40">
- diff --git a/UI/Templates/PreferencesUI/UIxPreferences.wox b/UI/Templates/PreferencesUI/UIxPreferences.wox index db97ab9d9..36f989063 100644 --- a/UI/Templates/PreferencesUI/UIxPreferences.wox +++ b/UI/Templates/PreferencesUI/UIxPreferences.wox @@ -555,10 +555,12 @@
+ label:aria-label="When sending mail, add unknown recipients to my"> + @@ -687,13 +689,15 @@ - + insert_invitation - + @@ -226,9 +226,12 @@ - -

+ alarm +

+ +

@@ -262,12 +265,14 @@ repeat_one repeat @@ -283,12 +288,14 @@ - + repeat_one - + repeat @@ -303,7 +310,9 @@
- + @@ -319,12 +328,14 @@ repeat_one repeat @@ -340,12 +351,16 @@ - + repeat_one - + repeat diff --git a/UI/Templates/SchedulerUI/UIxReminderEditor.wox b/UI/Templates/SchedulerUI/UIxReminderEditor.wox index 08903ea7f..31b4e327a 100644 --- a/UI/Templates/SchedulerUI/UIxReminderEditor.wox +++ b/UI/Templates/SchedulerUI/UIxReminderEditor.wox @@ -9,21 +9,21 @@ - + - + - +