Skip to content

Commit 424dff2

Browse files
author
Satwik Kumar Sharma
committed
Resolved the hyperlink color and <h1> A11y bugs
1 parent d221988 commit 424dff2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

source/nodejs/adaptivecards-site/themes/adaptivecards/layout/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<div class="w3-center" style="max-width: 600px; margin: auto">
3333
<div class="w3-margin w3-padding-32">
34-
<h1 class="w3-xxlarge"><%- site.data.home.en.heading %></h1>
34+
<h2 class="w3-xxlarge"><%- site.data.home.en.heading %></h2>
3535
<div class="accent-paragraph"><%- site.data.home.en.heading_paragraph %></div>
3636
<div class="w3-padding-16">
3737
<button role="link" onclick="window.location.href='https://docs.microsoft.com/en-us/adaptive-cards/'"

source/nodejs/adaptivecards-site/themes/adaptivecards/source/css/style.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ body > #headerAreaHolder {
3030

3131
.ac-blue {
3232
color: #fff !important;
33-
background-color: #0050c5 !important;
33+
background-color: var(--blue) !important;
3434
}
3535

3636
.breadcrumbs {
@@ -646,19 +646,19 @@ button .fa-check {
646646

647647
.ac-blue {
648648
color: #fff !important;
649-
background-color: #0b78d0 !important;
649+
background-color: var(--blue) !important;
650650
}
651651

652652
.homepage a:link,
653653
.homepage a:visited {
654-
color: #0b78d0;
654+
color: var(--blue);
655655
font-size: 15px;
656656
line-height: 29px;
657657
font-weight: 600;
658658
}
659659

660660
.homepage a:hover {
661-
color: blue;
661+
color: var(--blue-light);
662662
}
663663

664664
.schema-content a:link,

0 commit comments

Comments
 (0)