mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-82551 core: Set welcome message heading to level 1
This commit is contained in:
parent
554a790bf0
commit
dc12e44bd4
@ -25,7 +25,7 @@
|
||||
}
|
||||
}}
|
||||
{{#welcomemessage}}
|
||||
<h2 class="mb-3 mt-3">
|
||||
<h1 class="h2 mb-3 mt-3">
|
||||
{{.}}
|
||||
</h2>
|
||||
</h1>
|
||||
{{/welcomemessage}}
|
||||
|
@ -30,3 +30,20 @@ Feature: Welcome message
|
||||
And I should see "You are not logged in" in the "page-footer" "region"
|
||||
And I log in as "admin"
|
||||
Then I should see "Hi, Admin!" in the "page-header" "region"
|
||||
|
||||
@accessibility @javascript
|
||||
Scenario Outline: The start page must meet accessibility standards when the welcome message is displayed
|
||||
Given the following config values are set as admin:
|
||||
| defaulthomepage | <defaulthomepage> |
|
||||
When I log in as "admin"
|
||||
Then I should see "Welcome, Admin!" in the "page-header" "region"
|
||||
And the page should meet accessibility standards
|
||||
|
||||
Examples:
|
||||
| defaulthomepage |
|
||||
# Home.
|
||||
| 0 |
|
||||
# Dashboard.
|
||||
| 1 |
|
||||
# My courses.
|
||||
| 2 |
|
||||
|
Loading…
x
Reference in New Issue
Block a user