Skip to content

Commit eaac1fd

Browse files
committed
Merge branch 'release/22.0.0'
2 parents 7c65f64 + 18c3e72 commit eaac1fd

32 files changed

Lines changed: 96 additions & 51 deletions

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
We follow the CalVer (https://calver.org/) versioning scheme: YY.MINOR.MICRO.
44

5+
22.0.0 (01-25-2022)
6+
===================
7+
8+
CAS accessibility fixes
9+
10+
511
21.3.4 (01-10-2022)
612
===================
713

src/main/resources/static/css/cas.css

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,45 @@ a:hover, a:visited, a:active {
4848
color: var(--cas-theme-primary-light);
4949
}
5050

51+
h1 {
52+
font-size: 1.5em;
53+
margin-block-start: 0.83em;
54+
margin-block-end: 0.83em;
55+
}
56+
57+
h2,
58+
h1.downsize-to-h2 {
59+
font-size: 1.17em;
60+
margin-block-start: 1em;
61+
margin-block-end: 1em;
62+
}
63+
64+
h3,
65+
h2.downsize-to-h3 {
66+
font-size: 1em;
67+
margin-block-start: 1.33em;
68+
margin-block-end: 1.33em;
69+
}
70+
71+
h4,
72+
h3.downsize-to-h4 {
73+
font-size: 0.83em;
74+
margin-block-start: 1.67em;
75+
margin-block-end: 1.67em;
76+
}
77+
78+
h5, h6 {
79+
font-size: 0.67em;
80+
margin-block-start: 2.33em;
81+
margin-block-end: 2.33em;
82+
}
83+
5184
h1, h2, h3, h4, h5, h6 {
85+
display: block;
5286
margin-top: 0;
87+
margin-inline-start: 0;
88+
margin-inline-end: 0;
89+
font-weight: bold;
5390
}
5491

5592
aside, section, main {

src/main/resources/templates/casAccountDisabledView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">
27-
<h2 th:utext="#{screen.accountdisabled.heading}"></h2>
27+
<h1 th:utext="#{screen.accountdisabled.heading}"></h1>
2828
<p th:utext="#{screen.accountdisabled.message}"></p>
2929
</section>
3030
<section class="form-button">

src/main/resources/templates/casAccountNotConfirmedIdPView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">
27-
<h2 th:utext="#{screen.accountnotconfirmedidp.heading}"></h2>
27+
<h1 th:utext="#{screen.accountnotconfirmedidp.heading}"></h1>
2828
<p th:utext="#{screen.accountnotconfirmedidp.message}"></p>
2929
</section>
3030
<section class="form-button">

src/main/resources/templates/casAccountNotConfirmedOsfView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">
27-
<h2 th:utext="#{screen.accountnotconfirmedosf.heading}"></h2>
27+
<h1 th:utext="#{screen.accountnotconfirmedosf.heading}"></h1>
2828
<p th:utext="#{screen.accountnotconfirmedosf.message}"></p>
2929
</section>
3030
<section class="form-button">

src/main/resources/templates/casGenericSuccessView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">
27-
<h2 th:utext="#{screen.generic.loginsuccess.heading}"></h2>
27+
<h1 th:utext="#{screen.generic.loginsuccess.heading}"></h1>
2828
<div th:utext="#{screen.generic.loginsuccess.message}"></div>
2929
</section>
3030
<section id="authnAttr" class="pre-formatted-small word-break-all">

src/main/resources/templates/casInstitutionLoginView.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<tbody>
2020
<tr>
2121
<td>
22-
<img class="service-ui-logo" src="/images/osf-logo.png">
22+
<img class="service-ui-logo" src="/images/osf-logo.png" alt="OSF logo">
2323
</td>
2424
<td>
2525
<span class="service-ui-name hidden-narrow">OSF </span>
@@ -31,14 +31,14 @@
3131
</section>
3232

3333
<section class="card-message">
34-
<h2 th:utext="#{screen.institutionlogin.heading}"></h2>
34+
<h1 th:utext="#{screen.institutionlogin.heading}"></h1>
3535
<p th:unless=${osfCasLoginContext.institutionId} th:utext="#{screen.institutionlogin.message.select}"></p>
3636
<p th:if=${osfCasLoginContext.institutionId} th:utext="#{screen.institutionlogin.message.auto}"></p>
3737
</section>
3838

3939
<section class="text-with-mdi text-bold text-large">
40-
<span th:unless=${osfCasLoginContext.institutionId} th:utext="#{screen.institutionlogin.heading.select}"></span>
41-
<span th:if=${osfCasLoginContext.institutionId} th:utext="#{screen.institutionlogin.heading.auto}"></span>
40+
<label for="institutionSelect" th:unless=${osfCasLoginContext.institutionId} th:utext="#{screen.institutionlogin.heading.select}"></label>
41+
<label for="institutionSelect" th:if=${osfCasLoginContext.institutionId} th:utext="#{screen.institutionlogin.heading.auto}"></label>
4242
</section>
4343

4444
<section class="instn-select">

src/main/resources/templates/casInstitutionSsoFailedView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">
27-
<h2 th:utext="#{screen.institutionssofailed.heading}"></h2>
27+
<h1 th:utext="#{screen.institutionssofailed.heading}"></h1>
2828
<p th:utext="#{screen.institutionssofailed.message}"></p>
2929
</section>
3030
<section class="form-button" th:with="loginUrl=@{${@casServerLoginUrl}(casRedirectSource=cas)}">

src/main/resources/templates/casInvalidUserStatusView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">
27-
<h2 th:utext="#{screen.invaliduserstatus.heading}"></h2>
27+
<h1 th:utext="#{screen.invaliduserstatus.heading}"></h1>
2828
<p th:utext="#{screen.invaliduserstatus.message}"></p>
2929
</section>
3030
<section class="form-button">

src/main/resources/templates/casInvalidVerificationKeyView.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
</section>
2525
<hr class="my-4" />
2626
<section class="card-message">
27-
<h2 th:utext="#{screen.invalidverificationkey.heading}"></h2>
27+
<h1 th:utext="#{screen.invalidverificationkey.heading}"></h1>
2828
<p th:utext="#{screen.invalidverificationkey.message}"></p>
2929
</section>
3030
<section class="form-button">

0 commit comments

Comments
 (0)