git-repo-styles
Design documents for git.pablopie.xyz ✏️
- Commit
- d3ec9dc3f53166eb19543e09a853cb2e75c88534
- Parent
- b5a3f7ba6cacc2f05be4ba815449104290218653
- Author
- Pablo <pablo-escobar@riseup.net>
- Date
Made the navigation bar more compliant with accessibility guidelines
Nested the <nav> element inside of a <header> to make it easier for assitive technology to find the site map
Also nested the list of links for each repository insede of a <nav> element
See https://www.htmhell.dev/adventcalendar/2022/4/
Diffstat
9 files changed, 46 insertions, 7 deletions
diff --git a/index.html b/index.html
@@ -7,12 +7,14 @@
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
+<header>
<nav>
<a href="https://git.pablopie.xyz/">
<img aria-hidden="true" alt="Website logo" src="./favicon.svg">
git.pablopie.xyz
</a>
</nav>
+</header>
<main>
<div class="article-list">
<article>
diff --git a/log.html b/log.html
@@ -7,16 +7,19 @@
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
+<header>
<nav>
<a href="https://git.pablopie.xyz/">
<img aria-hidden="true" alt="Website logo" src="./favicon.svg">
git.pablopie.xyz
</a>
</nav>
+</header>
<main>
<h1>stagit</h1>
<p>My personal build of stagit 😸️
</p>
+<nav>
<ul>
<li>git clone: <a href="git://git.pablopie.xyz/stagit">git://git.pablopie.xyz/stagit</a></li>
<li><a href="https://git.pablopie.xyz/stagit/log.html">Log</a></li>
@@ -25,6 +28,7 @@ git.pablopie.xyz
<li><a href="https://git.pablopie.xyz/stagit/README.html">README</a></li>
<li><a href="https://git.pablopie.xyz/stagit/file/LICENSE.html">LICENSE</a></li>
</ul>
+</nav>
<div class="article-list">
<article>
<div>
diff --git a/readme.html b/readme.html
@@ -7,16 +7,19 @@
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
+<header>
<nav>
<a href="https://git.pablopie.xyz/">
<img aria-hidden="true" alt="Website logo" src="./favicon.svg">
git.pablopie.xyz
</a>
</nav>
+</header>
<main>
<h1>stagit</h1>
<p>My personal build of stagit 😸️
</p>
+<nav>
<ul>
<li>git clone: <a href="git://git.pablopie.xyz/stagit">git://git.pablopie.xyz/stagit</a></li>
<li><a href="https://git.pablopie.xyz/stagit/log.html">Log</a></li>
@@ -25,6 +28,7 @@ git.pablopie.xyz
<li><a href="https://git.pablopie.xyz/stagit/README.html">README</a></li>
<li><a href="https://git.pablopie.xyz/stagit/file/LICENSE.html">LICENSE</a></li>
</ul>
+</nav>
<section id="readme">
<h1>stagit</h1>
<p>static git page generator.</p>
diff --git a/refs.html b/refs.html
@@ -8,16 +8,19 @@
<link rel="stylesheet" type="text/css" href="./styles.css">
</head>
<body>
+<header>
<nav>
<a href="https://git.pablopie.xyz/">
<img aria-hidden="true" alt="Website logo" src="./favicon.svg">
git.pablopie.xyz
</a>
</nav>
+</header>
<main>
<h1>stagit</h1>
<p>My personal build of stagit 😸️
</p>
+<nav>
<ul>
<li>git clone: <a href="git://git.pablopie.xyz/stagit">git://git.pablopie.xyz/stagit</a></li>
<li><a href="https://git.pablopie.xyz/stagit/log.html">Log</a></li>
@@ -26,6 +29,7 @@ git.pablopie.xyz
<li><a href="https://git.pablopie.xyz/stagit/README.html">README</a></li>
<li><a href="https://git.pablopie.xyz/stagit/file/LICENSE.html">LICENSE</a></li>
</ul>
+</nav>
<h2>Branches</h2>
<div class="table-container">
<table id="branches">