This commit is contained in:
Jun Pataleta
2026-02-05 17:23:05 +07:00
committed by Huong Nguyen
4 changed files with 6 additions and 6 deletions
@@ -23,7 +23,7 @@
{}
}}
<div id="block-myoverview-{{uniqid}}" class="block-myoverview block-cards" data-region="myoverview" role="navigation">
<div id="block-myoverview-{{uniqid}}" class="block-myoverview block-cards" data-region="myoverview">
<div role="search" data-region="filter" class="d-flex align-items-center my-2" aria-label="{{#str}} aria:controls, block_myoverview {{/str}}">
<div class="d-flex flex-wrap gap-1 align-items-center w-100">
{{> block_myoverview/nav-grouping-selector }}
@@ -44,14 +44,14 @@
}
}}
<div class="block-myoverview block-cards" data-region="myoverview" role="navigation">
<div class="block-myoverview block-cards" data-region="myoverview">
<div class="container-fluid p-0">
<div class="text-xs-center text-center mt-3" data-region="empty-message">
<img class="empty-placeholder-image-lg mt-1"
src="{{nocoursesimg}}"
alt=""
>
<h5 class="h5 mt-3 mb-0">{{{ title }}}</h5>
<h4 class="h4 mt-3 mb-0">{{{ title }}}</h4>
<p class="mt-3 mb-0">{{{ intro }}}</p>
<div class="mt-5 mb-0 whitebutton" id="action_bar">
@@ -322,6 +322,6 @@ Feature: The my overview block allows users to easily access their courses
Then I should not see "Category 1" in the "Course overview" "block"
@accessibility
Scenario: The dashboard page must have sufficient colour contrast
Scenario: The My courses page must meet accessibility standards
When I am on the "My courses" page logged in as "student1"
Then the page should meet "wcag143" accessibility standards
Then the page should meet accessibility standards with "best-practice" extra tests
@@ -88,4 +88,4 @@ Feature: Zero state on my overview block
@javascript @accessibility
Scenario: Evaluate the accessibility of the My courses (zero state)
When I am on the "My courses" page logged in as "manager"
Then the page should meet accessibility standards
Then the page should meet accessibility standards with "best-practice" extra tests