From 6e94f0b3ab2337dd4c187d4dbc6b7958d9cc1ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Thu, 6 May 2021 14:52:50 +0200 Subject: [PATCH] MOBILE-3745 a11y: Minor improvements on dividers --- .../calendar/pages/edit-event/edit-event.html | 4 ++-- src/addons/calendar/pages/list/list.html | 2 +- .../coursecompletion/pages/report/report.html | 4 ++-- .../messages/pages/discussion/discussion.html | 5 +++-- .../group-conversations/group-conversations.html | 8 +++++--- src/addons/messages/pages/search/search.html | 2 +- .../pages/nonrespondents/nonrespondents.html | 2 +- .../feedback/pages/respondents/respondents.html | 4 ++-- .../mod/forum/components/edit-post/edit-post.html | 2 +- src/addons/mod/forum/components/post/post.html | 2 +- .../forum/pages/new-discussion/new-discussion.html | 2 +- .../components/index/addon-mod-glossary-index.html | 4 ++-- src/addons/mod/glossary/pages/edit/edit.html | 4 ++-- src/addons/mod/lesson/pages/player/player.html | 10 +++++++--- src/addons/mod/wiki/components/map/map.html | 2 +- .../addon-mod-wiki-subwiki-picker.html | 2 +- .../components/format/core-course-format.html | 5 ++++- .../login/pages/email-signup/email-signup.html | 14 +++++++------- .../forgotten-password/forgotten-password.html | 2 +- src/core/features/sitehome/pages/index/index.html | 4 +++- src/core/features/user/pages/about/about.html | 6 +++--- 21 files changed, 51 insertions(+), 39 deletions(-) diff --git a/src/addons/calendar/pages/edit-event/edit-event.html b/src/addons/calendar/pages/edit-event/edit-event.html index 32b691c6e..78c05e1fb 100644 --- a/src/addons/calendar/pages/edit-event/edit-event.html +++ b/src/addons/calendar/pages/edit-event/edit-event.html @@ -126,8 +126,8 @@ - {{ 'core.showmore' | translate }} - {{ 'core.showless' | translate }} +

{{ 'core.showmore' | translate }}

+

{{ 'core.showless' | translate }}

diff --git a/src/addons/calendar/pages/list/list.html b/src/addons/calendar/pages/list/list.html index bb3bc6edb..fd84c4313 100644 --- a/src/addons/calendar/pages/list/list.html +++ b/src/addons/calendar/pages/list/list.html @@ -40,7 +40,7 @@ - {{ event.timestart * 1000 | coreFormatDate: "strftimedayshort" }} +

{{ event.timestart * 1000 | coreFormatDate: "strftimedayshort" }}

- {{ 'addon.coursecompletion.requiredcriteria' | translate }} +

{{ 'addon.coursecompletion.requiredcriteria' | translate }}

@@ -71,7 +71,7 @@
- {{ 'addon.coursecompletion.manualselfcompletion' | translate }} +

{{ 'addon.coursecompletion.manualselfcompletion' | translate }}

diff --git a/src/addons/messages/pages/discussion/discussion.html b/src/addons/messages/pages/discussion/discussion.html index cc6c3d675..079b182dc 100644 --- a/src/addons/messages/pages/discussion/discussion.html +++ b/src/addons/messages/pages/discussion/discussion.html @@ -93,7 +93,8 @@ [@coreSlideInOut]="message.useridfrom == currentUserId ? '' : 'fromLeft'"> -

+

@@ -101,7 +102,7 @@ {{ message.timecreated | coreFormatDate: "strftimetime" }} - +

diff --git a/src/addons/messages/pages/group-conversations/group-conversations.html b/src/addons/messages/pages/group-conversations/group-conversations.html index a5a30b8dc..518656e04 100644 --- a/src/addons/messages/pages/group-conversations/group-conversations.html +++ b/src/addons/messages/pages/group-conversations/group-conversations.html @@ -37,7 +37,7 @@ [attr.aria-expanded]="favourites.expanded" role="heading button"> - {{ 'core.favourites' | translate }} ({{ favourites.count }}) +

{{ 'core.favourites' | translate }} ({{ favourites.count }})

{{ favourites.unread }}
@@ -60,7 +60,7 @@ [attr.aria-expanded]="group.expanded" role="heading button"> - {{ 'addon.messages.groupconversations' | translate }} ({{ group.count }}) +

{{ 'addon.messages.groupconversations' | translate }} ({{ group.count }})

{{ group.unread }}
@@ -82,7 +82,9 @@ [attr.aria-expanded]="individual.expanded" role="heading button"> - {{ 'addon.messages.individualconversations' | translate }} ({{ individual.count }}) + +

{{ 'addon.messages.individualconversations' | translate }} ({{ individual.count }})

+
{{ individual.unread }}
diff --git a/src/addons/messages/pages/search/search.html b/src/addons/messages/pages/search/search.html index 8a8b5a298..fd0e764a2 100644 --- a/src/addons/messages/pages/search/search.html +++ b/src/addons/messages/pages/search/search.html @@ -38,7 +38,7 @@ - {{ item.titleString | translate }} +

{{ item.titleString | translate }}

diff --git a/src/addons/mod/feedback/pages/nonrespondents/nonrespondents.html b/src/addons/mod/feedback/pages/nonrespondents/nonrespondents.html index d9fcbfff9..8ec8a826c 100644 --- a/src/addons/mod/feedback/pages/nonrespondents/nonrespondents.html +++ b/src/addons/mod/feedback/pages/nonrespondents/nonrespondents.html @@ -26,7 +26,7 @@ - {{ 'addon.mod_feedback.non_respondents_students' | translate : {$a: total } }} +

{{ 'addon.mod_feedback.non_respondents_students' | translate : {$a: total } }}

diff --git a/src/addons/mod/feedback/pages/respondents/respondents.html b/src/addons/mod/feedback/pages/respondents/respondents.html index bccb6847c..5a6ffcce4 100644 --- a/src/addons/mod/feedback/pages/respondents/respondents.html +++ b/src/addons/mod/feedback/pages/respondents/respondents.html @@ -29,7 +29,7 @@ - {{ 'addon.mod_feedback.non_anonymous_entries' | translate : {$a: responses.responses.total } }} +

{{ 'addon.mod_feedback.non_anonymous_entries' | translate : {$a: responses.responses.total } }}

- {{ 'addon.mod_feedback.anonymous_entries' |translate : {$a: responses.anonResponses.total } }} +

{{ 'addon.mod_feedback.anonymous_entries' |translate : {$a: responses.anonResponses.total } }}

- {{ 'addon.mod_forum.advanced' | translate }} +

{{ 'addon.mod_forum.advanced' | translate }}

- {{ 'addon.mod_forum.advanced' | translate }} +

{{ 'addon.mod_forum.advanced' | translate }}

diff --git a/src/addons/mod/forum/pages/new-discussion/new-discussion.html b/src/addons/mod/forum/pages/new-discussion/new-discussion.html index d67dac037..f28a931a9 100644 --- a/src/addons/mod/forum/pages/new-discussion/new-discussion.html +++ b/src/addons/mod/forum/pages/new-discussion/new-discussion.html @@ -35,7 +35,7 @@ [attr.aria-label]="(advanced ? 'core.hideadvanced' : 'core.showadvanced') |translate" role="heading button"> - {{ 'addon.mod_forum.advanced' | translate }} +

{{ 'addon.mod_forum.advanced' | translate }}

diff --git a/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html b/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html index f50c2401c..ffa5e9542 100644 --- a/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html +++ b/src/addons/mod/glossary/components/index/addon-mod-glossary-index.html @@ -64,7 +64,7 @@ - {{ 'addon.mod_glossary.entriestobesynced' | translate }} +

{{ 'addon.mod_glossary.entriestobesynced' | translate }}

@@ -79,7 +79,7 @@ - {{ getDivider!(entry) }} +

{{ getDivider!(entry) }}

- {{ 'addon.mod_glossary.attachment' | translate }} +

{{ 'addon.mod_glossary.attachment' | translate }}

- {{ 'addon.mod_glossary.linking' | translate }} +

{{ 'addon.mod_glossary.linking' | translate }}

{{ 'addon.mod_glossary.entryusedynalink' | translate }} diff --git a/src/addons/mod/lesson/pages/player/player.html b/src/addons/mod/lesson/pages/player/player.html index 2e35a9298..21f3668dc 100644 --- a/src/addons/mod/lesson/pages/player/player.html +++ b/src/addons/mod/lesson/pages/player/player.html @@ -57,9 +57,13 @@ (ngSubmit)="submitQuestion($event)"> - - + +

+ + +

+
diff --git a/src/addons/mod/wiki/components/map/map.html b/src/addons/mod/wiki/components/map/map.html index 7e34f12ef..9b2db6da2 100644 --- a/src/addons/mod/wiki/components/map/map.html +++ b/src/addons/mod/wiki/components/map/map.html @@ -18,7 +18,7 @@
- {{ letter.label }} +

{{ letter.label }}

diff --git a/src/addons/mod/wiki/components/subwiki-picker/addon-mod-wiki-subwiki-picker.html b/src/addons/mod/wiki/components/subwiki-picker/addon-mod-wiki-subwiki-picker.html index 27dc3c5ea..815b657c0 100644 --- a/src/addons/mod/wiki/components/subwiki-picker/addon-mod-wiki-subwiki-picker.html +++ b/src/addons/mod/wiki/components/subwiki-picker/addon-mod-wiki-subwiki-picker.html @@ -1,7 +1,7 @@ - {{ group.label }} +

{{ group.label }}

- +

+ + +

diff --git a/src/core/features/login/pages/email-signup/email-signup.html b/src/core/features/login/pages/email-signup/email-signup.html index 5da51c810..c053e73e2 100644 --- a/src/core/features/login/pages/email-signup/email-signup.html +++ b/src/core/features/login/pages/email-signup/email-signup.html @@ -90,7 +90,7 @@ - {{ 'core.login.createuserandpass' | translate }} +

{{ 'core.login.createuserandpass' | translate }}

@@ -119,7 +119,7 @@ - {{ 'core.login.supplyinfo' | translate }} +

{{ 'core.login.supplyinfo' | translate }}

@@ -169,7 +169,7 @@ - {{ category.name }} +

{{ category.name }}

@@ -179,7 +179,7 @@ - {{ 'core.login.security_question' | translate }} +

{{ 'core.login.security_question' | translate }}

@@ -188,7 +188,7 @@ - {{ 'core.login.policyagreement' | translate }} +

{{ 'core.login.policyagreement' | translate }}

@@ -217,9 +217,9 @@ -

+

-

+

diff --git a/src/core/features/login/pages/forgotten-password/forgotten-password.html b/src/core/features/login/pages/forgotten-password/forgotten-password.html index 5845cab40..615048cae 100644 --- a/src/core/features/login/pages/forgotten-password/forgotten-password.html +++ b/src/core/features/login/pages/forgotten-password/forgotten-password.html @@ -16,7 +16,7 @@
- {{ 'core.login.searchby' | translate }} +

{{ 'core.login.searchby' | translate }}

diff --git a/src/core/features/sitehome/pages/index/index.html b/src/core/features/sitehome/pages/index/index.html index 06a069a11..f53a91281 100644 --- a/src/core/features/sitehome/pages/index/index.html +++ b/src/core/features/sitehome/pages/index/index.html @@ -31,7 +31,9 @@ - + + + diff --git a/src/core/features/user/pages/about/about.html b/src/core/features/user/pages/about/about.html index 43940dd36..276186cdc 100644 --- a/src/core/features/user/pages/about/about.html +++ b/src/core/features/user/pages/about/about.html @@ -13,7 +13,7 @@ - {{ 'core.user.contact' | translate}} +

{{ 'core.user.contact' | translate}}

{{ 'core.user.email' | translate }}

@@ -60,7 +60,7 @@
- {{ 'core.userdetails' | translate}} +

{{ 'core.userdetails' | translate}}

{{ 'core.user.webpage' | translate}}

@@ -80,7 +80,7 @@
- {{ 'core.user.description' | translate}} +

{{ 'core.user.description' | translate}}