From: Patrick H. Lauke Date: Sat, 17 Jun 2017 13:07:49 +0000 (+0200) Subject: Docs: accessibility and IE fixes for SVG-based top navigation (#22848) X-Git-Tag: v4.0.0-beta~133^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=816d5bd2e3268aac543ecfe534290879ee59da1d;p=thirdparty%2Fbootstrap.git 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) --- diff --git a/_includes/docs-navbar.html b/_includes/docs-navbar.html index 0b2401d4db..89960f0ac5 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 f482312e9c..ce8df77388 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 b582b78f31..5d6ad18040 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 883713c19b..03e15dc492 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 1631260f7a..3927fa458b 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 0265e9767c..450c393b92 100644 --- a/_includes/icons/twitter.svg +++ b/_includes/icons/twitter.svg @@ -1 +1 @@ -Twitter +Twitter