Compare commits

..

No commits in common. "251a7710affbb571998d0c18809f0ad37d89fdcb" and "27da0f713d1459eca9bb5e51f14ae9784daeddc6" have entirely different histories.

7 changed files with 13 additions and 18 deletions

View File

@ -12,12 +12,7 @@ const markdownItAnchor = require("markdown-it-anchor");
module.exports = function (eleventyConfig) { module.exports = function (eleventyConfig) {
// Installed Plugins // Installed Plugins
eleventyConfig.addPlugin(pluginTOC, { eleventyConfig.addPlugin(pluginTOC, { tags: ['h2', 'h3', 'h4', 'h5'] });
tags: ['h2', 'h3', 'h4', 'h5', 'h6'],
wrapper: function (toc) {
return `<nav class="toc" aria-label="Table of contents">${toc}</nav>`;
},
});
eleventyConfig.addPlugin(embedEverything, { add: ['soundcloud'] }); eleventyConfig.addPlugin(embedEverything, { add: ['soundcloud'] });
// Configure slug filter // Configure slug filter

View File

@ -1,6 +1,7 @@
<header class="main__header"> <header class="main__header">
{% if isArticle or hasBreadcrumbs %} {% if isArticle or hasBreadcrumbs %}
<nav aria-label="Breadcrumbs"> <nav>
<h2 class="visually-hidden">Breadcrumbs</h2>
<ol class="breadcrumbs"> <ol class="breadcrumbs">
{% set breadcrumbNavPages = collections.all | eleventyNavigationBreadcrumb(articleTitle or pageTitle or title) %} {% set breadcrumbNavPages = collections.all | eleventyNavigationBreadcrumb(articleTitle or pageTitle or title) %}
{%- for entry in breadcrumbNavPages %} {%- for entry in breadcrumbNavPages %}
@ -47,7 +48,8 @@
{{ content | safe }} {{ content | safe }}
{% if tags and tags.includes("posts") %} {% if tags and tags.includes("posts") %}
<nav class="blog__post--pagination" aria-label="Next and Previous Blog Posts"> <nav class="blog__post--pagination">
<h2 class="visually-hidden">Next and Previous Blog Posts</h2>
{%- if collections.posts %} {%- if collections.posts %}
{%- set previousPost = collections.posts | getPreviousCollectionItem %} {%- set previousPost = collections.posts | getPreviousCollectionItem %}
{%- set nextPost = collections.posts | getNextCollectionItem %} {%- set nextPost = collections.posts | getNextCollectionItem %}

View File

@ -14,7 +14,7 @@ https://kalechips.net/projects/snippets/burger #}
{%- endif -%} {%- endif -%}
{% endset %} {% endset %}
<nav class="navbar" aria-label="Top level"> <nav class="navbar">
<details class="navbar__burger"> <details class="navbar__burger">
<summary class="navbar__toggle" id="toggle"> <summary class="navbar__toggle" id="toggle">
<svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg aria-hidden="true" width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
@ -22,7 +22,7 @@ https://kalechips.net/projects/snippets/burger #}
</svg> </svg>
Navigation Navigation
</summary> </summary>
<nav class="navbar__menu" aria-label="Top level hamburger menu"> <nav class="navbar__menu">
<ul class="navbar__menu--links"> <ul class="navbar__menu--links">
{{ navLinksEl | safe }} {{ navLinksEl | safe }}
<li class="skip"><a href="#toggle">Close Menu</a></li> <li class="skip"><a href="#toggle">Close Menu</a></li>

View File

@ -1,4 +1,4 @@
<aside class="left-sidebar" aria-label="Left sidebar"> <aside class="left-sidebar">
<details-utils force-open="(min-width: 60rem)" force-restore> <details-utils force-open="(min-width: 60rem)" force-restore>
<details class="toc__wrapper sidebar--sticky"> <details class="toc__wrapper sidebar--sticky">
<summary class="toc__heading"> <summary class="toc__heading">

View File

@ -1,5 +1,5 @@
<aside class="right-sidebar" aria-label="Right sidebar"> <aside class="right-sidebar">
<nav class="content__nav sidebar--sticky" aria-label="Sidebar"> <nav class="content__nav sidebar--sticky">
<h2 class="content__nav--title">My Contents</h2> <h2 class="content__nav--title">My Contents</h2>
<ul class="content__nav--links"> <ul class="content__nav--links">
{% for archive in collections.archive %} {% for archive in collections.archive %}

View File

@ -45,8 +45,6 @@
--clr-bold-txt: #ff9869; --clr-bold-txt: #ff9869;
--clr-link: #ce97ff; --clr-link: #ce97ff;
--clr-link-hover: #b366f7; --clr-link-hover: #b366f7;
--clr-quote-bg: #141414;
--clr-quote-border: #f3f2f2;
--clr-navbar-bg: #3a0873; --clr-navbar-bg: #3a0873;
--clr-main-footer-bg: #3a0873; --clr-main-footer-bg: #3a0873;

View File

@ -1,7 +1,7 @@
--- ---
title: Accessibility title: Accessibility
keyword: accessibility statement keyword: accessibility statement
updated: 2024-07-14 updated: 2024-07-06
eleventyNavigation: eleventyNavigation:
order: 13 order: 13
--- ---
@ -29,9 +29,9 @@ This site uses the [Lexend](https://www.lexend.com/) font family as the default
I use the following tools to test my site for accessibility: I use the following tools to test my site for accessibility:
* WebAIM's [WAVE Browser Extension](https://wave.webaim.org/extension/) * WebAIM's [WAVE Browser Extension](https://wave.webaim.org/extension/)
* [axe DevTools - Web Accessibility Testing](https://www.deque.com/axe/browser-extensions/) browser extension
* [ANDI Accessibility Testing Tool](https://www.ssa.gov/accessibility/andi/help/install.html) * [ANDI Accessibility Testing Tool](https://www.ssa.gov/accessibility/andi/help/install.html)
* [Alex Clapperton's Colour Contrast Checker](https://colourcontrast.cc/) * [C. Liam Brown's Colour Contrast Tool](https://cliambrown.com/contrast/)
* [Acart Communications' Contrast Checker](https://contrastchecker.com/)
* [NVDA](https://www.nvaccess.org/about-nvda/) screen reader for Windows * [NVDA](https://www.nvaccess.org/about-nvda/) screen reader for Windows
* TalkBack screen reader for Android * TalkBack screen reader for Android
* VoiceOver screen reader for iOS * VoiceOver screen reader for iOS