diff --git a/config.toml b/config.toml index 42087056..cc0d278c 100644 --- a/config.toml +++ b/config.toml @@ -21,7 +21,7 @@ enableGitInfo = true # see single.html, DisqusShortname also needed disableComments = true accent = "#018661" - accent2 = "#008fb3" + accent2 = "#007a98" showBorder = true copyright = "No © and no tracking - sharing is caring. Brain Baking. RSS Feed." diff --git a/content/post/2020/06/designing-with-accessibility-in-mind.md b/content/post/2020/06/designing-with-accessibility-in-mind.md new file mode 100644 index 00000000..4d42c577 --- /dev/null +++ b/content/post/2020/06/designing-with-accessibility-in-mind.md @@ -0,0 +1,114 @@ +--- +title: "Designing websites with accessibility in mind" +date: '2020-06-04' +subtitle: "A little bit of effort makes your site more inclusive for everyone." +tags: + - webdesign + - accessibility +--- + +In my last post about [webdesign](/tags/webdesign) called "[tracking and privacy on websites](post/2020/06/tracking-and-privacy-on-websites/)", I ended with a list of things you need to take into account when building a website - of which **accessibility** is one that is most often overlooked. Something I'm also guilty of. Here's my report of an effort to open up Brain Baking for everyone and to learn how to design websites with accessibility in mind. + +### 1. Use Semantic HTML5 tags + +This might not come as a shocker to anyone, but it's still not that frequently applied, sadly. Most bootstrap-based websites are just a pile of `
` and `` containers chunked together with some CSS styling thrown on top. A template or downloaded theme might be rendered as: + +```html + +
+
bla at today
+
hello
+
more related stuff
+
+ +``` + +Instead of relying on `display: block`, write something like this: + +```html +
+
+
bla
+
hello
+
more related stuff
+
+
Brain baking
+``` + +The structure stays the same, but the elements change. The end result is exactly the same in your conventional browser, but it's easier to crawl by search engines - and especially software for people with disabilities. + +Other things to keep in mind: + +- Use `