diff --git a/src/addons/messages/components/conversation-info/conversation-info.html b/src/addons/messages/components/conversation-info/conversation-info.html index ad864180b..21b6eac6d 100644 --- a/src/addons/messages/components/conversation-info/conversation-info.html +++ b/src/addons/messages/components/conversation-info/conversation-info.html @@ -18,7 +18,7 @@
+ onError="this.src='assets/img/group-avatar.png'">

diff --git a/src/addons/messages/pages/discussion/discussion.html b/src/addons/messages/pages/discussion/discussion.html index 1d34ae74c..cc6c3d675 100644 --- a/src/addons/messages/pages/discussion/discussion.html +++ b/src/addons/messages/pages/discussion/discussion.html @@ -6,7 +6,7 @@
diff --git a/src/addons/messages/pages/group-conversations/group-conversations.html b/src/addons/messages/pages/group-conversations/group-conversations.html index aec8e148b..386bb41f2 100644 --- a/src/addons/messages/pages/group-conversations/group-conversations.html +++ b/src/addons/messages/pages/group-conversations/group-conversations.html @@ -34,7 +34,7 @@ + [attr.aria-expanded]="favourites.expanded" role="heading"> {{ 'core.favourites' | translate }} ({{ favourites.count }}) @@ -57,7 +57,7 @@ + [attr.aria-expanded]="group.expanded" role="heading"> {{ 'addon.messages.groupconversations' | translate }} ({{ group.count }}) @@ -79,7 +79,7 @@ + [attr.aria-expanded]="individual.expanded" role="heading"> {{ 'addon.messages.individualconversations' | translate }} ({{ individual.count }}) diff --git a/src/addons/mod/data/components/action/addon-mod-data-action.html b/src/addons/mod/data/components/action/addon-mod-data-action.html index 65bb39b40..2d8f41c7b 100644 --- a/src/addons/mod/data/components/action/addon-mod-data-action.html +++ b/src/addons/mod/data/components/action/addon-mod-data-action.html @@ -32,7 +32,7 @@ component="mod_data" [itemId]="entry.id" area="database_entry" [courseId]="datab + onError="this.src='assets/img/user-avatar.png'"> diff --git a/src/addons/mod/feedback/pages/form/form.html b/src/addons/mod/feedback/pages/form/form.html index 5b1487bb0..2bd0091ab 100644 --- a/src/addons/mod/feedback/pages/form/form.html +++ b/src/addons/mod/feedback/pages/form/form.html @@ -59,7 +59,7 @@ + name="{{item.typ}}_{{item.id}}" [(ngModel)]="item.value"> - + {{ 'addon.mod_forum.advanced' | translate }} diff --git a/src/addons/mod/forum/components/index/index.html b/src/addons/mod/forum/components/index/index.html index 60a48356d..ebce31084 100644 --- a/src/addons/mod/forum/components/index/index.html +++ b/src/addons/mod/forum/components/index/index.html @@ -71,7 +71,7 @@ {{ selectedSortOrder.label | translate }}
diff --git a/src/addons/mod/forum/components/index/index.ts b/src/addons/mod/forum/components/index/index.ts index 77763956e..315b86c42 100644 --- a/src/addons/mod/forum/components/index/index.ts +++ b/src/addons/mod/forum/components/index/index.ts @@ -79,7 +79,6 @@ export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityCom sortingAvailable!: boolean; sortOrders: AddonModForumSortOrder[] = []; selectedSortOrder: AddonModForumSortOrder | null = null; - sortOrderSelectorExpanded = false; canPin = false; protected syncEventName = AddonModForumSyncProvider.AUTO_SYNCED; @@ -637,12 +636,8 @@ export class AddonModForumIndexComponent extends CoreCourseModuleMainActivityCom modal.present(); - this.sortOrderSelectorExpanded = true; - const result = await modal.onDidDismiss(); - this.sortOrderSelectorExpanded = false; - if (result.data && result.data.value != this.selectedSortOrder?.value) { this.selectedSortOrder = result.data; this.page = 0; diff --git a/src/addons/mod/forum/components/sort-order-selector/sort-order-selector.html b/src/addons/mod/forum/components/sort-order-selector/sort-order-selector.html index 421d7fb01..5718a799f 100644 --- a/src/addons/mod/forum/components/sort-order-selector/sort-order-selector.html +++ b/src/addons/mod/forum/components/sort-order-selector/sort-order-selector.html @@ -11,9 +11,9 @@ - +

{{ sortOrder.label | 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 6cb66cbee..45d9df9c5 100644 --- a/src/addons/mod/forum/pages/new-discussion/new-discussion.html +++ b/src/addons/mod/forum/pages/new-discussion/new-discussion.html @@ -32,7 +32,7 @@
+ [attr.aria-label]="(advanced ? 'core.hideadvanced' : 'core.showadvanced') |translate" role="heading"> {{ 'addon.mod_forum.advanced' | translate }} diff --git a/src/addons/mod/quiz/pages/player/player.html b/src/addons/mod/quiz/pages/player/player.html index 61d60c803..aea2e1161 100644 --- a/src/addons/mod/quiz/pages/player/player.html +++ b/src/addons/mod/quiz/pages/player/player.html @@ -11,7 +11,7 @@ + [attr.aria-label]="'addon.mod_quiz.connectionerror' | translate" aria-haspopup="dialog"> {{ 'addon.mod_workshop_assessment_accumulative.dimensioncommentfor' | translate : {'$a': field.dimtitle } }} - +
diff --git a/src/addons/mod/workshop/assessment/comments/component/addon-mod-workshop-assessment-strategy-comments.html b/src/addons/mod/workshop/assessment/comments/component/addon-mod-workshop-assessment-strategy-comments.html index 74aaacb70..fde783cf8 100644 --- a/src/addons/mod/workshop/assessment/comments/component/addon-mod-workshop-assessment-strategy-comments.html +++ b/src/addons/mod/workshop/assessment/comments/component/addon-mod-workshop-assessment-strategy-comments.html @@ -14,7 +14,7 @@ {{ 'addon.mod_workshop_assessment_comments.dimensioncommentfor' | translate : {'$a': field.dimtitle } }} - + diff --git a/src/addons/mod/workshop/assessment/numerrors/component/addon-mod-workshop-assessment-strategy-numerrors.html b/src/addons/mod/workshop/assessment/numerrors/component/addon-mod-workshop-assessment-strategy-numerrors.html index 7a83404f8..2b7a47b80 100644 --- a/src/addons/mod/workshop/assessment/numerrors/component/addon-mod-workshop-assessment-strategy-numerrors.html +++ b/src/addons/mod/workshop/assessment/numerrors/component/addon-mod-workshop-assessment-strategy-numerrors.html @@ -35,7 +35,7 @@ {{ 'addon.mod_workshop_assessment_numerrors.dimensioncommentfor' | translate : {'$a': field.dimtitle } }} - diff --git a/src/addons/qtype/essay/component/addon-qtype-essay.html b/src/addons/qtype/essay/component/addon-qtype-essay.html index 85cf617cc..00da81fd1 100644 --- a/src/addons/qtype/essay/component/addon-qtype-essay.html +++ b/src/addons/qtype/essay/component/addon-qtype-essay.html @@ -22,7 +22,7 @@ + [attr.name]="essayQuestion.textarea.name" [ngModel]="essayQuestion.textarea.text"> ; // Stream to update the hideMenu boolean when items change. protected instanceId: string; protected parentContextMenu?: CoreContextMenuComponent; + protected expanded = false; constructor( elementRef: ElementRef, diff --git a/src/core/components/context-menu/core-context-menu.html b/src/core/components/context-menu/core-context-menu.html index 00f169708..f55c2038b 100644 --- a/src/core/components/context-menu/core-context-menu.html +++ b/src/core/components/context-menu/core-context-menu.html @@ -1,5 +1,5 @@ - + diff --git a/src/core/components/empty-box/core-empty-box.html b/src/core/components/empty-box/core-empty-box.html index 2cb3e0a68..b09fc1168 100644 --- a/src/core/components/empty-box/core-empty-box.html +++ b/src/core/components/empty-box/core-empty-box.html @@ -1,8 +1,7 @@
- - + +

{{ message }}

diff --git a/src/core/components/send-message-form/core-send-message-form.html b/src/core/components/send-message-form/core-send-message-form.html index 605851cf5..ac333d0e2 100644 --- a/src/core/components/send-message-form/core-send-message-form.html +++ b/src/core/components/send-message-form/core-send-message-form.html @@ -1,8 +1,7 @@
+ (keydown.control.enter)="enterClicked($event, 'control')" (keydown.meta.enter)="enterClicked($event, 'meta')"> diff --git a/src/core/components/user-avatar/core-user-avatar.html b/src/core/components/user-avatar/core-user-avatar.html index 318573f43..a5a776577 100644 --- a/src/core/components/user-avatar/core-user-avatar.html +++ b/src/core/components/user-avatar/core-user-avatar.html @@ -1,11 +1,11 @@ + onError="this.src='assets/img/user-avatar.png'" (click)="gotoProfile($event)"> - - \ No newline at end of file + diff --git a/src/core/features/contentlinks/pages/choose-site/choose-site.html b/src/core/features/contentlinks/pages/choose-site/choose-site.html index 55c95ca11..0fd3d3dea 100644 --- a/src/core/features/contentlinks/pages/choose-site/choose-site.html +++ b/src/core/features/contentlinks/pages/choose-site/choose-site.html @@ -18,7 +18,7 @@ {{ 'core.pictureof' | translate:{$a: site.fullName} }} diff --git a/src/core/features/course/components/format/core-course-format.html b/src/core/features/course/components/format/core-course-format.html index 344438813..374274d27 100644 --- a/src/core/features/course/components/format/core-course-format.html +++ b/src/core/features/course/components/format/core-course-format.html @@ -20,8 +20,7 @@ class="ion-text-wrap clearfix ion-justify-content-between core-button-selector-row" [class.core-section-download]="downloadEnabled"> + aria-haspopup="listbox" id="core-course-section-button" expand="block"> {{ 'core.course.sections' | translate }}: diff --git a/src/core/features/course/components/format/format.ts b/src/core/features/course/components/format/format.ts index 44d60f329..5fb0b0c53 100644 --- a/src/core/features/course/components/format/format.ts +++ b/src/core/features/course/components/format/format.ts @@ -91,7 +91,6 @@ export class CoreCourseFormatComponent implements OnInit, OnChanges, OnDestroy { canLoadMore = false; showSectionId = 0; - sectionSelectorExpanded = false; data: Record = {}; // Data to pass to the components. displaySectionSelector?: boolean; @@ -109,6 +108,7 @@ export class CoreCourseFormatComponent implements OnInit, OnChanges, OnDestroy { protected sectionStatusObserver?: CoreEventObserver; protected selectTabObserver?: CoreEventObserver; protected lastCourseFormat?: string; + protected sectionSelectorExpanded = false; constructor( protected content: IonContent, diff --git a/src/core/features/course/components/module-completion/core-course-module-completion.html b/src/core/features/course/components/module-completion/core-course-module-completion.html index ea6f994ee..ce6a3073a 100644 --- a/src/core/features/course/components/module-completion/core-course-module-completion.html +++ b/src/core/features/course/components/module-completion/core-course-module-completion.html @@ -1,3 +1,3 @@ - diff --git a/src/core/features/login/components/site-onboarding/site-onboarding.html b/src/core/features/login/components/site-onboarding/site-onboarding.html index 814b95221..85bb6c5f0 100644 --- a/src/core/features/login/components/site-onboarding/site-onboarding.html +++ b/src/core/features/login/components/site-onboarding/site-onboarding.html @@ -16,7 +16,7 @@