From 052e7703ab3a0b1e6adf48116d48c36d8512e111 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sat, 24 Oct 2020 03:13:14 +0800 Subject: [PATCH] Improve the accessibility of the theme Along with some improved formatting of some modules. The changelog should be enough to make what changes have occured. --- CHANGELOG.adoc | 11 ++++++- assets/css/main.css | 15 +++++----- layouts/_default/list.html | 9 ++++-- layouts/_default/single.html | 57 ++++++++++++++++++++---------------- layouts/partials/head.html | 8 +++-- layouts/partials/header.html | 8 +++-- 6 files changed, 67 insertions(+), 41 deletions(-) diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index f28cc11..ee209d6 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -7,7 +7,7 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version -== [2.0.0] - 2020-10-21 +== [2.0.0] - 2020-10-24 === Changed @@ -20,6 +20,12 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version ** Replaces with numbers instead of the horrible phrases (which I didn't realize is horrible) so the i18n options for those are also gone. ** The pagination is also smarter when applying the ellipses, making sure to only skip if the difference between pages is more than one. +* Improve the web accessibility of the site. +For future reference, refer to the https://html.spec.whatwg.org/[HTML spec] and https://www.w3.org/TR/wai-aria-1.1/[ARIA specs and practices]. +** Starting with the pagination, `rel` attributes have been added. +** The content template (`layouts/_default/single.html`) has been updated with the appropriate semantic elements. +** Apparently, the `` element is non-existent (as of 2020-10-24) and replaced with the https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time[`