From cc9d1fdaf3a085e029c4d2e126816172505cce63 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 23 Jun 2021 08:27:06 -0400 Subject: [PATCH] Remove `tabindex="-1"` from `input` elements in `search.html` layout Make `input` elements accessible by keyboard. Fixes #2982 --- CHANGELOG.md | 1 + _layouts/search.html | 4 ++-- docs/_docs/18-history.md | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 853de0f8..a841561f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ### Bug Fixes +- Remove `tabindex="-1"` from `input` elements in `search.html` layout to allow them to be accessible by keyboard. [#2982](https://github.com/mmistakes/minimal-mistakes/issues/2982) - Fix broken sidebar image in sample post. [#3013](https://github.com/mmistakes/minimal-mistakes/issues/3013) - Fix broken links in Upgrading documentation. [#3004](https://github.com/mmistakes/minimal-mistakes/issues/3004) diff --git a/_layouts/search.html b/_layouts/search.html index d18f2235..9e661a36 100644 --- a/_layouts/search.html +++ b/_layouts/search.html @@ -25,11 +25,11 @@ layout: default {%- assign search_provider = site.search_provider | default: "lunr" -%} {%- case search_provider -%} {%- when "lunr" -%} - +
{%- when "google" -%}
- +
diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index 877d446b..9a364da0 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -5,7 +5,7 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -last_modified_at: 2021-06-23T08:17:10-04:00 +last_modified_at: 2021-06-23T08:26:21-04:00 toc: false --- @@ -13,6 +13,7 @@ toc: false ### Bug Fixes +- Remove `tabindex="-1"` from `input` elements in `search.html` layout to allow them to be accessible by keyboard. [#2982](https://github.com/mmistakes/minimal-mistakes/issues/2982) - Fix broken sidebar image in sample post. [#3013](https://github.com/mmistakes/minimal-mistakes/issues/3013) - Fix broken links in Upgrading documentation. [#3004](https://github.com/mmistakes/minimal-mistakes/issues/3004)