Skip to content

Commit b9afaa5

Browse files
committed
Change my-data item cards from h3 to h2 so headings follow in order
1 parent aa3835f commit b9afaa5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

axe-results-violations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
"all": [],
2424
"none": [],
2525
"impact": "moderate",
26-
"html": "<h3 class=\"text-xl font-semibold mb-3 group-hover:text-primary transition-colors\" data-astro-cid-72nlo57a=\"\"> Self-Service Infrastructure for Product Teams </h3>",
26+
"html": "<h3 class=\"inline-flex items-center gap-2 whitespace-nowrap text-xl text-page-inverse font-bold transition-colors no-underline\">",
2727
"target": [
28-
"article:nth-child(1) > .rounded-xl.hover\\:-translate-y-2.focus-visible\\:shadow-none > .p-6.min-h-0.flex-1 > div:nth-child(1) > h3"
28+
".md\\:flex-row.shadow-sm[href$=\"articles\"] > .p-6.grow.flex-col > .mb-4.gap-4.relative > h3"
2929
],
3030
"failureSummary": "Fix any of the following:\n Heading order invalid"
3131
}

src/components/Search/SearchEmptyState/index.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ const items = [
5757
</div>
5858
<div class="p-6 flex flex-col justify-center grow">
5959
<div class="relative flex items-center gap-4 mb-4">
60-
<h3 class="inline-flex items-center gap-2 whitespace-nowrap text-xl text-page-inverse font-bold transition-colors no-underline">
60+
<h2 class="inline-flex items-center gap-2 whitespace-nowrap text-xl text-page-inverse font-bold transition-colors no-underline">
6161
<Icon icon={item.icon} size={6} />
6262
{item.title}
63-
</h3>
63+
</h2>
6464
</div>
6565
<p class="relative text-content-offset text-sm leading-relaxed no-underline">{item.text}</p>
6666
<div class="relative mt-6 flex pointer-events-none">

0 commit comments

Comments
 (0)