Skip to content

Commit 20d6f22

Browse files
fix: layout title hierarchy, alt tags
1 parent 18bf922 commit 20d6f22

File tree

4 files changed

+15
-11
lines changed

4 files changed

+15
-11
lines changed

core/src/components/Footer.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import logoWHite from '@nixos/branding/artifacts/internal/nixos-logomark-white-f
1212
---
1313

1414
<footer>
15+
<h2 class="sr-only">Footer</h2>
1516
<div
1617
class="bg-secondary-afghani-blue-25 text-primary-white-95 clear-both font-light"
1718
>
@@ -22,9 +23,9 @@ import logoWHite from '@nixos/branding/artifacts/internal/nixos-logomark-white-f
2223
{
2324
footerMenu.data.sections.map((menu) => (
2425
<div class="flex-1 basis-1/2 md:basis-0">
25-
<h4 class="font-heading text-secondary-afghani-blue-85 mb-2 text-xl font-bold">
26+
<h3 class="font-heading text-secondary-afghani-blue-85 mb-2 text-xl font-bold">
2627
{menu.name}
27-
</h4>
28+
</h3>
2829
<ul class="font-extralight">
2930
{menu.items.map((item) => (
3031
<li class="border-secondary-afghani-blue-55 border-b-1 last:border-b-0">

core/src/content/explore/info.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ content:
1919
You will no longer have to hear:
2020
emphasis: But it works on my machine!
2121
- imageSrc: '/images/explore/multi.svg'
22-
imageAlt: An octopus holding multiple flags with different programming language logos on them. These include Python, Rust, Go, JS and Scala.
22+
imageAlt: An octopus holding multiple flags with different programming language logos on them.
2323
heading: One tool, many languages.
2424
subHeading: >
2525
With today's polyglot development environments, each language has its own way of building and testing.
@@ -37,7 +37,7 @@ content:
3737
Language specific package managers are good at dependencies in their specific language.
3838
But they cannot provide other dependencies, like the ones you would usually have to install system-wide.
3939
- imageSrc: '/images/explore/disaster.svg'
40-
imageAlt: Three server racks. The outer two are on fire, while the middle one is safe. The outer ones are grey while the middle one is blue and has a NixOS logo.
40+
imageAlt: Three server racks. The outer two are on fire, while the NixOS server in the middle is safe.
4141
heading: Continuous integration for free.
4242
subHeading: >
4343
Your development environment is your continuous integration environment.
@@ -107,7 +107,7 @@ content:
107107
- >
108108
No need to turn your system upside down just because you want to test some experimental and bleeding edge versions of software.
109109
- imageSrc: '/images/explore/community.svg'
110-
imageAlt: A monkey sitting in front of a laptop raising his fist in the air with joy surrounded by hands clapping.
110+
imageAlt: A monkey sitting in front of a laptop raising his fist in the air with joy.
111111
heading: Contributing is only a pull request away.
112112
subHeading: >
113113
Community is at the core of Nix.

core/src/pages/donate.astro

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,8 @@ const sponsors = await getEntry('sponsors', 'info');
3232
money goes.
3333
</p>
3434
<p class="font-extralight">
35-
With Open Collective you can make a <strong>single</strong> or <strong
36-
>recurring</strong
37-
> contribution by credit card transfer.
35+
With Open Collective you can make a <strong>single</strong> or
36+
<strong>recurring</strong> contribution by credit card transfer.
3837
</p>
3938
<Button
4039
color="semidarkblue"
@@ -107,7 +106,11 @@ BIC: BUNQNL2AXXX</pre>
107106
<div class="bg-secondary-afghani-blue-45 text-primary-white py-16 md:py-16">
108107
<Container class="grid gap-8 md:grid-cols-2">
109108
<div class="flex flex-col gap-4">
110-
<img src="/images/donate/merch.svg" class="h-64 md:h-full" />
109+
<img
110+
src="/images/donate/merch.svg"
111+
alt="An Octopus holding multiple different NixOS merchandise items"
112+
class="h-64 md:h-full"
113+
/>
111114
</div>
112115
<div class="flex flex-col justify-center gap-4">
113116
<h1 class="font-heading max-w-96 text-4xl leading-tight font-bold">

core/src/pages/explore.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ const exploreInfo = await getEntry('explore', 'info');
1414
<PageHeader text="Explore" />
1515

1616
<Container class="py-16">
17-
<h1 class="text-primary-black-55 text-center text-2xl font-extralight">
17+
<span class="text-primary-black-55 text-center text-2xl font-extralight">
1818
Find out why so many developers, system administrators and other
1919
enthusiasts use Nix and cannot imagine a world without it.
20-
</h1>
20+
</span>
2121
</Container>
2222

2323
<Container class="pb-16">

0 commit comments

Comments
 (0)