From e40a4f13bb56581ab023512f6a6e80d8b09ec956 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 13 Nov 2023 10:05:19 +0100 Subject: [PATCH] MOBILE-3947 chore: Fix some HTML strict types --- .../badges/pages/user-badges/user-badges.html | 2 +- .../addon-block-activitymodules.html | 4 ++-- .../myoverview/addon-block-myoverview.html | 2 +- .../addon-block-recentlyaccessedcourses.html | 2 +- .../addon-block-recentlyaccesseditems.html | 4 ++-- .../sitemainmenu/addon-block-sitemainmenu.html | 2 +- .../addon-block-starredcourses.html | 2 +- .../events/addon-block-timeline-events.html | 2 +- .../timeline/addon-block-timeline.html | 2 +- src/addons/blog/pages/entries/entries.html | 2 +- src/addons/calendar/pages/event/event.html | 2 +- .../pages/competencies/competencies.html | 2 +- .../coursecompetencies/coursecompetencies.html | 2 +- src/addons/competency/pages/plan/plan.html | 2 +- .../competency/pages/planlist/planlist.html | 2 +- .../conversation-info/conversation-info.html | 2 +- .../messages/pages/contacts-35/contacts.html | 2 +- src/addons/messages/pages/contacts/contacts.html | 4 ++-- .../pages/discussions-35/discussions.html | 6 +++--- .../group-conversations/group-conversations.html | 16 ++++++++-------- src/addons/messages/pages/search/search.html | 2 +- .../components/index/addon-mod-assign-index.html | 3 ++- .../submission/addon-mod-assign-submission.html | 2 +- .../pages/submission-list/submission-list.html | 2 +- .../addon-mod-assign-submission-comments.html | 2 +- .../addon-mod-assign-submission-file.html | 2 +- .../addon-mod-assign-submission-onlinetext.html | 2 +- .../bigbluebuttonbn/components/index/index.html | 4 ++-- .../components/index/addon-mod-book-index.html | 2 +- src/addons/mod/book/components/toc/toc.html | 2 +- .../components/index/addon-mod-choice-index.html | 2 +- .../data/components/actionsmenu/actionsmenu.html | 2 +- .../components/index/addon-mod-data-index.html | 4 ++-- .../index/addon-mod-feedback-index.html | 2 +- .../mod/feedback/pages/attempts/attempts.html | 4 ++-- .../components/index/addon-mod-folder-index.html | 2 +- .../discussion-options-menu.html | 12 ++++++------ src/addons/mod/forum/components/index/index.html | 2 +- .../post-options-menu/post-options-menu.html | 6 +++--- src/addons/mod/forum/components/post/post.html | 2 +- .../sort-order-selector/sort-order-selector.html | 2 +- .../pages/new-discussion/new-discussion.html | 2 +- .../index/addon-mod-glossary-index.html | 4 ++-- .../pages/user-attempts/user-attempts.html | 6 +++--- .../pages/users-attempts/users-attempts.html | 4 ++-- .../components/index/addon-mod-imscp-index.html | 2 +- src/addons/mod/imscp/components/toc/toc.html | 2 +- .../components/index/addon-mod-lesson-index.html | 2 +- .../lesson/components/menu-modal/menu-modal.html | 2 +- src/addons/mod/lesson/pages/player/player.html | 2 +- .../components/index/addon-mod-quiz-index.html | 2 +- .../navigation-modal/navigation-modal.html | 2 +- .../components/index/addon-mod-scorm-index.html | 2 +- src/addons/mod/wiki/components/map/map.html | 4 ++-- .../addon-mod-wiki-subwiki-picker.html | 2 +- .../index/addon-mod-workshop-index.html | 4 ++-- .../mod/workshop/components/phase/phase.html | 4 ++-- src/addons/privatefiles/pages/index/index.html | 3 ++- .../pages/course-storage/course-storage.html | 2 +- .../pages/courses-storage/courses-storage.html | 2 +- src/core/components/context-menu/context-menu.ts | 3 +-- .../context-menu/core-context-menu-popover.html | 2 +- src/core/components/file/core-file.html | 2 +- .../components/local-file/core-local-file.html | 2 +- .../components/tabs-outlet/core-tabs-outlet.html | 2 +- src/core/components/tabs/tab.ts | 2 +- .../only-title-block/core-block-only-title.html | 2 +- .../core-block-pre-rendered.html | 2 +- .../choose-site-modal/choose-site-modal.html | 2 +- .../components/course-index/course-index.html | 4 ++-- .../module-summary/module-summary.html | 2 +- .../components/module/core-course-module.html | 2 +- .../tag-area/core-course-tag-area.html | 2 +- .../pages/course-summary/course-summary.html | 6 +++--- .../core-courses-course-options-menu.html | 12 ++++++------ .../courses/pages/categories/categories.html | 2 +- .../features/grades/pages/courses/courses.html | 2 +- .../login/components/site-help/site-help.html | 4 ++-- src/core/features/login/pages/site/site.html | 4 ++-- .../mainmenu/components/user-menu/user-menu.html | 13 +++++++------ src/core/features/mainmenu/pages/more/more.html | 10 +++++----- .../set-reminder-menu/set-reminder-menu.html | 6 +++--- .../components/search-box/core-search-box.html | 2 +- .../features/settings/pages/about/about.html | 12 ++++++------ .../settings/pages/deviceinfo/deviceinfo.html | 2 +- .../features/settings/pages/index/index.html | 4 ++-- .../settings/pages/licenses/licenses.html | 2 +- .../sharedfiles/components/list/list.html | 2 +- .../core-siteplugins-only-title-block.html | 2 +- src/core/features/tag/pages/index/index.html | 2 +- .../user/pages/participants/participants.html | 2 +- .../features/user/pages/profile/profile.html | 4 ++-- 92 files changed, 152 insertions(+), 150 deletions(-) diff --git a/src/addons/badges/pages/user-badges/user-badges.html b/src/addons/badges/pages/user-badges/user-badges.html index 8b872cbea..d91a5e0e8 100644 --- a/src/addons/badges/pages/user-badges/user-badges.html +++ b/src/addons/badges/pages/user-badges/user-badges.html @@ -19,7 +19,7 @@ + (click)="badges.select(badge)" [attr.aria-current]="badges.getItemAriaCurrent(badge)" [detail]="true"> diff --git a/src/addons/block/activitymodules/components/activitymodules/addon-block-activitymodules.html b/src/addons/block/activitymodules/components/activitymodules/addon-block-activitymodules.html index b4f800003..98aebcd59 100644 --- a/src/addons/block/activitymodules/components/activitymodules/addon-block-activitymodules.html +++ b/src/addons/block/activitymodules/components/activitymodules/addon-block-activitymodules.html @@ -1,10 +1,10 @@ - +

{{ 'addon.block_activitymodules.pluginname' | translate }}

- + {{ entry.name }} diff --git a/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html b/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html index 90adc25e6..176c08c90 100644 --- a/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html +++ b/src/addons/block/myoverview/components/myoverview/addon-block-myoverview.html @@ -1,4 +1,4 @@ - +

{{ 'addon.block_myoverview.pluginname' | translate }}

diff --git a/src/addons/block/recentlyaccessedcourses/components/recentlyaccessedcourses/addon-block-recentlyaccessedcourses.html b/src/addons/block/recentlyaccessedcourses/components/recentlyaccessedcourses/addon-block-recentlyaccessedcourses.html index d4b28ea36..66e1245d7 100644 --- a/src/addons/block/recentlyaccessedcourses/components/recentlyaccessedcourses/addon-block-recentlyaccessedcourses.html +++ b/src/addons/block/recentlyaccessedcourses/components/recentlyaccessedcourses/addon-block-recentlyaccessedcourses.html @@ -1,4 +1,4 @@ - +

{{ 'addon.block_recentlyaccessedcourses.pluginname' | translate }}

diff --git a/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html b/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html index 2b185a878..9d157d6d1 100644 --- a/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html +++ b/src/addons/block/recentlyaccesseditems/components/recentlyaccesseditems/addon-block-recentlyaccesseditems.html @@ -1,4 +1,4 @@ - +

{{ 'addon.block_recentlyaccesseditems.pluginname' | translate }}

@@ -14,7 +14,7 @@
- + diff --git a/src/addons/block/sitemainmenu/components/sitemainmenu/addon-block-sitemainmenu.html b/src/addons/block/sitemainmenu/components/sitemainmenu/addon-block-sitemainmenu.html index 11bc7d2b8..4b6d5b6ba 100644 --- a/src/addons/block/sitemainmenu/components/sitemainmenu/addon-block-sitemainmenu.html +++ b/src/addons/block/sitemainmenu/components/sitemainmenu/addon-block-sitemainmenu.html @@ -1,4 +1,4 @@ - +

{{ 'addon.block_sitemainmenu.pluginname' | translate }}

diff --git a/src/addons/block/starredcourses/components/starredcourses/addon-block-starredcourses.html b/src/addons/block/starredcourses/components/starredcourses/addon-block-starredcourses.html index 88e7fdfce..7d297b771 100644 --- a/src/addons/block/starredcourses/components/starredcourses/addon-block-starredcourses.html +++ b/src/addons/block/starredcourses/components/starredcourses/addon-block-starredcourses.html @@ -1,4 +1,4 @@ - +

{{ 'addon.block_starredcourses.pluginname' | translate }}

diff --git a/src/addons/block/timeline/components/events/addon-block-timeline-events.html b/src/addons/block/timeline/components/events/addon-block-timeline-events.html index 4428d0f64..d84981b96 100644 --- a/src/addons/block/timeline/components/events/addon-block-timeline-events.html +++ b/src/addons/block/timeline/components/events/addon-block-timeline-events.html @@ -14,7 +14,7 @@
- diff --git a/src/addons/block/timeline/components/timeline/addon-block-timeline.html b/src/addons/block/timeline/components/timeline/addon-block-timeline.html index 92d911286..b20b7952d 100644 --- a/src/addons/block/timeline/components/timeline/addon-block-timeline.html +++ b/src/addons/block/timeline/components/timeline/addon-block-timeline.html @@ -1,4 +1,4 @@ - +

{{ 'addon.block_timeline.pluginname' | translate }}

diff --git a/src/addons/blog/pages/entries/entries.html b/src/addons/blog/pages/entries/entries.html index fb9ffa77c..ff2f5d39b 100644 --- a/src/addons/blog/pages/entries/entries.html +++ b/src/addons/blog/pages/entries/entries.html @@ -65,7 +65,7 @@ - + {{ 'addon.blog.linktooriginalentry' | translate }} diff --git a/src/addons/calendar/pages/event/event.html b/src/addons/calendar/pages/event/event.html index 494a78e42..81a83d325 100644 --- a/src/addons/calendar/pages/event/event.html +++ b/src/addons/calendar/pages/event/event.html @@ -72,7 +72,7 @@

{{ 'addon.calendar.type' + event.formattedType | translate }}

- +

{{ 'core.course' | translate}}

diff --git a/src/addons/competency/pages/competencies/competencies.html b/src/addons/competency/pages/competencies/competencies.html index 72793a1db..33b3afe43 100644 --- a/src/addons/competency/pages/competencies/competencies.html +++ b/src/addons/competency/pages/competencies/competencies.html @@ -20,7 +20,7 @@ + [attr.aria-current]="competencies.getItemAriaCurrent(competency)" button [detail]="true">

+ [attr.aria-label]="competency.competency.shortname" [detail]="true" button>

diff --git a/src/addons/competency/pages/plan/plan.html b/src/addons/competency/pages/plan/plan.html index 5090642c4..dbe729263 100644 --- a/src/addons/competency/pages/plan/plan.html +++ b/src/addons/competency/pages/plan/plan.html @@ -81,7 +81,7 @@ + [attr.aria-label]="competency.competency.shortname" [detail]="true" button>

+ [attr.aria-current]="plans.getItemAriaCurrent(plan)" button [detail]="true">

diff --git a/src/addons/messages/components/conversation-info/conversation-info.html b/src/addons/messages/components/conversation-info/conversation-info.html index 3a4fb4af7..8d53b3dce 100644 --- a/src/addons/messages/components/conversation-info/conversation-info.html +++ b/src/addons/messages/components/conversation-info/conversation-info.html @@ -35,7 +35,7 @@ + [detail]="true" button> diff --git a/src/addons/messages/pages/contacts-35/contacts.html b/src/addons/messages/pages/contacts-35/contacts.html index 314a3b0d0..e79d83c11 100644 --- a/src/addons/messages/pages/contacts-35/contacts.html +++ b/src/addons/messages/pages/contacts-35/contacts.html @@ -42,7 +42,7 @@ diff --git a/src/addons/messages/pages/contacts/contacts.html b/src/addons/messages/pages/contacts/contacts.html index c049589e0..1ac693568 100644 --- a/src/addons/messages/pages/contacts/contacts.html +++ b/src/addons/messages/pages/contacts/contacts.html @@ -28,7 +28,7 @@ @@ -67,7 +67,7 @@ + [attr.aria-current]="request.id == selectedUserId ? 'page' : 'false'" [detail]="true"> diff --git a/src/addons/messages/pages/discussions-35/discussions.html b/src/addons/messages/pages/discussions-35/discussions.html index bb3368ca3..a95d142d8 100644 --- a/src/addons/messages/pages/discussions-35/discussions.html +++ b/src/addons/messages/pages/discussions-35/discussions.html @@ -28,7 +28,7 @@ + [attr.aria-label]="'addon.messages.contacts' | translate" [detail]="true" button>

{{ 'addon.messages.contacts' | translate }}

@@ -46,7 +46,7 @@ + [attr.aria-current]="result.userid == discussionUserId ? 'page' : 'false'" [detail]="false">

{{ result.fullname }}

@@ -60,7 +60,7 @@ + [attr.aria-current]="discussion.message!.user == discussionUserId ? 'page' : 'false'" [detail]="false">
diff --git a/src/addons/messages/pages/group-conversations/group-conversations.html b/src/addons/messages/pages/group-conversations/group-conversations.html index 9cca75e2d..eb9e0fdd7 100644 --- a/src/addons/messages/pages/group-conversations/group-conversations.html +++ b/src/addons/messages/pages/group-conversations/group-conversations.html @@ -27,7 +27,7 @@ - +

{{ 'addon.messages.contacts' | translate }}

@@ -38,10 +38,10 @@
- + [detail]="false"> @@ -73,9 +73,9 @@ - + aria-controls="addon-messages-groupconversations-group" role="heading" [detail]="false"> @@ -106,10 +106,10 @@ - + [detail]="false"> @@ -147,7 +147,7 @@ - + (click)="openConversation(result)" [attr.aria-current]="result == selectedResult ? 'page' : 'false'" [detail]="true" button>

diff --git a/src/addons/mod/assign/components/index/addon-mod-assign-index.html b/src/addons/mod/assign/components/index/addon-mod-assign-index.html index e7e04b991..3f65bb593 100644 --- a/src/addons/mod/assign/components/index/addon-mod-assign-index.html +++ b/src/addons/mod/assign/components/index/addon-mod-assign-index.html @@ -46,7 +46,8 @@ - +

{{ 'addon.mod_assign.numberofteams' | translate }}

{{ 'addon.mod_assign.numberofparticipants' | translate }}

diff --git a/src/addons/mod/assign/components/submission/addon-mod-assign-submission.html b/src/addons/mod/assign/components/submission/addon-mod-assign-submission.html index ac1208cd8..475acc689 100644 --- a/src/addons/mod/assign/components/submission/addon-mod-assign-submission.html +++ b/src/addons/mod/assign/components/submission/addon-mod-assign-submission.html @@ -393,7 +393,7 @@ + [attr.aria-label]="grader!.fullname" [detail]="true">

{{ 'addon.mod_assign.gradedby' | translate }}

diff --git a/src/addons/mod/assign/pages/submission-list/submission-list.html b/src/addons/mod/assign/pages/submission-list/submission-list.html index 61399abfc..dfc608421 100644 --- a/src/addons/mod/assign/pages/submission-list/submission-list.html +++ b/src/addons/mod/assign/pages/submission-list/submission-list.html @@ -28,7 +28,7 @@ + [attr.aria-current]="submissions.getItemAriaCurrent(submission)" [detail]="true">

{{submission.userfullname}}

diff --git a/src/addons/mod/assign/submission/comments/component/addon-mod-assign-submission-comments.html b/src/addons/mod/assign/submission/comments/component/addon-mod-assign-submission-comments.html index 157d9f527..912151506 100644 --- a/src/addons/mod/assign/submission/comments/component/addon-mod-assign-submission-comments.html +++ b/src/addons/mod/assign/submission/comments/component/addon-mod-assign-submission-comments.html @@ -1,4 +1,4 @@ - +

{{plugin.name}}

- +

{{ plugin.name }}

diff --git a/src/addons/mod/assign/submission/onlinetext/component/addon-mod-assign-submission-onlinetext.html b/src/addons/mod/assign/submission/onlinetext/component/addon-mod-assign-submission-onlinetext.html index 43f6b2009..b417a1286 100644 --- a/src/addons/mod/assign/submission/onlinetext/component/addon-mod-assign-submission-onlinetext.html +++ b/src/addons/mod/assign/submission/onlinetext/component/addon-mod-assign-submission-onlinetext.html @@ -13,7 +13,7 @@
- +

{{ plugin.name }}

diff --git a/src/addons/mod/bigbluebuttonbn/components/index/index.html b/src/addons/mod/bigbluebuttonbn/components/index/index.html index 0b2dccaf4..bb1d82c25 100644 --- a/src/addons/mod/bigbluebuttonbn/components/index/index.html +++ b/src/addons/mod/bigbluebuttonbn/components/index/index.html @@ -92,7 +92,7 @@ + [attr.aria-label]="(recording.expanded ? 'core.collapse' : 'core.expand') | translate" [detail]="false"> @@ -108,7 +108,7 @@

{{ recording.playbackLabel }}

-

{{ playback.name }}

diff --git a/src/addons/mod/book/components/index/addon-mod-book-index.html b/src/addons/mod/book/components/index/addon-mod-book-index.html index 89b4c085b..4d62979c4 100644 --- a/src/addons/mod/book/components/index/addon-mod-book-index.html +++ b/src/addons/mod/book/components/index/addon-mod-book-index.html @@ -20,7 +20,7 @@
-

diff --git a/src/addons/mod/book/components/toc/toc.html b/src/addons/mod/book/components/toc/toc.html index 7d63bbfea..f633ab0ff 100644 --- a/src/addons/mod/book/components/toc/toc.html +++ b/src/addons/mod/book/components/toc/toc.html @@ -14,7 +14,7 @@