From 816d5bd2e3268aac543ecfe534290879ee59da1d Mon Sep 17 00:00:00 2001 From: "Patrick H. Lauke" Date: Sat, 17 Jun 2017 15:07:49 +0200 Subject: [PATCH] Docs: accessibility and IE fixes for SVG-based top navigation (#22848) * Add explicit aria-label attributes to based links As some browser/AT combinations don't seem to fully support grabbing the `` from inside the `` as the link text/name to announce (e.g. Firefox+NVDA) * Add to Bootstrap logo * Add to menu * Add explicit focusable="false" to icons Due to a bug/"feature" in IE, `` elements are usually separately focusable, which then results in links with `` icons being essentially focused twice (once for the link, and once for the `` inside, which is then also non-interactive) --- _includes/docs-navbar.html | 8 ++++---- _includes/icons/bootstrap.svg | 2 +- _includes/icons/github.svg | 2 +- _includes/icons/menu.svg | 2 +- _includes/icons/slack.svg | 2 +- _includes/icons/twitter.svg | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/_includes/docs-navbar.html b/_includes/docs-navbar.html index 0b2401d4d..89960f0ac 100644 --- a/_includes/docs-navbar.html +++ b/_includes/docs-navbar.html @@ -1,5 +1,5 @@ diff --git a/_includes/icons/bootstrap.svg b/_includes/icons/bootstrap.svg index f482312e9..ce8df7738 100644 --- a/_includes/icons/bootstrap.svg +++ b/_includes/icons/bootstrap.svg @@ -1 +1 @@ - +Bootstrap diff --git a/_includes/icons/github.svg b/_includes/icons/github.svg index b582b78f3..5d6ad1804 100644 --- a/_includes/icons/github.svg +++ b/_includes/icons/github.svg @@ -1 +1 @@ -GitHub +GitHub diff --git a/_includes/icons/menu.svg b/_includes/icons/menu.svg index 883713c19..03e15dc49 100644 --- a/_includes/icons/menu.svg +++ b/_includes/icons/menu.svg @@ -1 +1 @@ - +Menu diff --git a/_includes/icons/slack.svg b/_includes/icons/slack.svg index 1631260f7..3927fa458 100644 --- a/_includes/icons/slack.svg +++ b/_includes/icons/slack.svg @@ -1 +1 @@ -Slack +Slack diff --git a/_includes/icons/twitter.svg b/_includes/icons/twitter.svg index 0265e9767..450c393b9 100644 --- a/_includes/icons/twitter.svg +++ b/_includes/icons/twitter.svg @@ -1 +1 @@ -Twitter +Twitter