From aeebfaa87cb6b98f2911b4d53953b95910d92dbc Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 4 Oct 2017 11:10:41 -0400 Subject: [PATCH] Improve accessibility of navigation menu button Add `type` and label text. Fixes #1099 --- CHANGELOG.md | 1 + _includes/masthead.html | 5 ++++- docs/_docs/18-history.md | 3 ++- docs/_includes/masthead.html | 41 +++++++++++++++++++----------------- 4 files changed, 29 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e9bb1c90..78a94bca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Add note about Staticman GitHub compatibility. [#1273](https://github.com/mmistakes/minimal-mistakes/issues/1273) - Add missing Brazilian Portuguese translations to `ui-text.yml`. [#1278](https://github.com/mmistakes/minimal-mistakes/pull/1278) - Update font stack documentation. [#1292](https://github.com/mmistakes/minimal-mistakes/pull/1292) +- Improve accessibility of navigation menu button. [#1099](https://github.com/mmistakes/minimal-mistakes/issues/1099) ### Bug Fixes diff --git a/_includes/masthead.html b/_includes/masthead.html index 5856b92d..4b516c4d 100644 --- a/_includes/masthead.html +++ b/_includes/masthead.html @@ -13,7 +13,10 @@
  • {{ link.title }}
  • {% endfor %} - + diff --git a/docs/_docs/18-history.md b/docs/_docs/18-history.md index c7a22443..97216862 100644 --- a/docs/_docs/18-history.md +++ b/docs/_docs/18-history.md @@ -4,7 +4,7 @@ permalink: /docs/history/ excerpt: "Change log of enhancements and bug fixes made to the theme." sidebar: nav: docs -last_modified_at: 2017-10-04T08:07:18-04:00 +last_modified_at: 2017-10-04T11:06:15-04:00 --- ## Unreleased @@ -16,6 +16,7 @@ last_modified_at: 2017-10-04T08:07:18-04:00 - Add note about Staticman GitHub compatibility. [#1273](https://github.com/mmistakes/minimal-mistakes/issues/1273) - Add missing Brazilian Portuguese translations to `ui-text.yml`. [#1278](https://github.com/mmistakes/minimal-mistakes/pull/1278) - Update font stack documentation. [#1292](https://github.com/mmistakes/minimal-mistakes/pull/1292) +- Improve accessibility of navigation menu button. [#1099](https://github.com/mmistakes/minimal-mistakes/issues/1099) ### Bug Fixes diff --git a/docs/_includes/masthead.html b/docs/_includes/masthead.html index 5856b92d..e4a6565e 100644 --- a/docs/_includes/masthead.html +++ b/docs/_includes/masthead.html @@ -1,21 +1,24 @@
    -
    -
    - +
    +
    + +
    -
    -
    \ No newline at end of file +
    \ No newline at end of file