From c225c47121a72709d95a5278c8cdc9ed49d30e7d Mon Sep 17 00:00:00 2001 From: Muhannad Abdelrazek Date: Wed, 28 Mar 2018 01:28:22 +0200 Subject: [PATCH] A11y: Enhance components docs --- docs/documentation/components/breadcrumb.html | 36 +++++++++-- docs/documentation/components/modal.html | 33 +++++----- docs/documentation/components/nav.html | 22 +++---- docs/documentation/components/navbar.html | 56 ++++++++--------- docs/documentation/components/panel.html | 14 ++--- docs/documentation/components/tabs.html | 62 +++++++++---------- docs/documentation/elements/box.html | 18 ++++-- 7 files changed, 138 insertions(+), 103 deletions(-) diff --git a/docs/documentation/components/breadcrumb.html b/docs/documentation/components/breadcrumb.html index 974689db..bd4b64ec 100644 --- a/docs/documentation/components/breadcrumb.html +++ b/docs/documentation/components/breadcrumb.html @@ -43,10 +43,38 @@ doc-subtab: breadcrumb {% capture breadcrumb_icons_example %} {% endcapture %} diff --git a/docs/documentation/components/modal.html b/docs/documentation/components/modal.html index be521f3f..dc0ae414 100644 --- a/docs/documentation/components/modal.html +++ b/docs/documentation/components/modal.html @@ -80,7 +80,7 @@ doc-subtab: modal

- Launch example modal +

@@ -119,7 +119,7 @@ doc-subtab: modal

If you want a more classic modal, with a head, a body and a foot, use the modal-card.

- Launch modal card +

@@ -152,14 +152,15 @@ doc-subtab: modal @@ -167,17 +168,17 @@ doc-subtab: modal - + diff --git a/docs/documentation/components/nav.html b/docs/documentation/components/nav.html index ebd9349e..fd52db7c 100644 --- a/docs/documentation/components/nav.html +++ b/docs/documentation/components/nav.html @@ -53,20 +53,20 @@ doc-subtab: nav {% capture nav_example %} {% endcapture %} @@ -114,7 +114,7 @@ doc-subtab: navbar

- + Tweet @@ -478,11 +478,11 @@ doc-subtab: navbar {% endcapture %} {% capture navbar_js_html %} -

+ -
- + {% highlight html %}{{ navbar_burger_example }}{% endhighlight %} @@ -657,12 +657,12 @@ document.addEventListener('DOMContentLoaded', function () {

-
- + {% include anchor.html name="Navbar menu" %} diff --git a/docs/documentation/components/panel.html b/docs/documentation/components/panel.html index d468e380..93658565 100644 --- a/docs/documentation/components/panel.html +++ b/docs/documentation/components/panel.html @@ -14,7 +14,7 @@ doc-subtab: panel

- +

@@ -27,37 +27,37 @@ doc-subtab: panel

- + bulma - + marksheet - + minireset.css - + jgthms.github.io - + daniellowtw/infboard - + mojs diff --git a/docs/documentation/components/tabs.html b/docs/documentation/components/tabs.html index 30e7d103..2e7998d5 100644 --- a/docs/documentation/components/tabs.html +++ b/docs/documentation/components/tabs.html @@ -43,25 +43,25 @@ doc-subtab: tabs