Merge pull request #27 from microsoft/apc/accessibility-fixes
Address accessibility issues
This commit is contained in:
Коммит
6ce5d735f3
|
@ -50,3 +50,6 @@ build-iPhoneSimulator/
|
|||
|
||||
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
||||
.rvmrc
|
||||
|
||||
# jekyll
|
||||
.jekyll-metadata
|
|
@ -1,18 +1,23 @@
|
|||
top_nav:
|
||||
- title: Intro
|
||||
url: /
|
||||
label: 'Link Intro 1 of 5'
|
||||
|
||||
- title: Tags
|
||||
url: /pages/tags/alpha
|
||||
label: 'Link Tags 2 of 5'
|
||||
|
||||
- title: GitHub
|
||||
url: /pages/contributing/github
|
||||
label: 'Link Github 3 of 5'
|
||||
|
||||
- title: Help
|
||||
url: /pages/resources/help
|
||||
label: 'Link Help 4 of 5'
|
||||
|
||||
- title: Playground
|
||||
url: /play
|
||||
label: 'Link Playground 5 of 5'
|
||||
primary: true
|
||||
|
||||
docs_nav:
|
||||
|
|
|
@ -23,9 +23,9 @@
|
|||
<script src="{{ site.baseurl }}/scripts/top_nav.js"></script>
|
||||
|
||||
<!-- SEARCH BOX - END -->
|
||||
|
||||
|
||||
{% for link in site.data.navigation.top_nav %}
|
||||
<a class="btn navbar-btn {% if link.primary %} navbar-btn-main {% endif %}" href="{{ link.url | absolute_url }}">
|
||||
<a class="btn navbar-btn {% if link.primary %} navbar-btn-main {% endif %}" aria-label="{{link.label}}" href="{{ link.url | absolute_url }}">
|
||||
{{ link.title }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -99,7 +99,7 @@ article a[href*="://"]:not([href*="tsdoc.org"]):not([href*="localhost"]) {
|
|||
background-position: center right;
|
||||
background-repeat: no-repeat;
|
||||
padding-right: 13px;
|
||||
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg width%3D%2211%22 height%3D%2211%22 version%3D%221.1%22 viewBox%3D%220 0 14.364 15.028%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22 xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22 xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22 %3E%3Cmetadata%3E%3Crdf%3ARDF%3E%3Ccc%3AWork%3E%3Cdc%3Acreator%3E%3Ccc%3AAgent%3E%3Cdc%3Atitle%3Ehttps%3A%2F%2Fgithub.com%2Fpgonzal%3C%2Fdc%3Atitle%3E%3C%2Fcc%3AAgent%3E%3C%2Fdc%3Acreator%3E%3C%2Fcc%3AWork%3E%3C%2Frdf%3ARDF%3E%3C%2Fmetadata%3E%3Cg transform%3D%22translate(-82.14 -158.93)%22 fill%3D%22%231e9348%22 %3E%3Cpath d%3D%22m83.4 161.53c-0.80824-0.0237-1.3558 0.80437-1.2464 1.5543 0.0038 3.237-0.0077 6.4743 0.0058 9.711 0.0539 0.73242 0.77982 1.2548 1.4899 1.151 3.2712-5e-3 6.543 0.01 9.8138-7e-3 0.75077-0.0663 1.2005-0.84784 1.1068-1.5494v-4.0444h-2.1993v3.4019h-8.0176v-8.0176h1.6784v-2.1994h-2.6314z%22%2F%3E%3Cpath d%3D%22m96.504 158.93c-2.5996 0.45395-5.1993 0.90791-7.7989 1.3619 0.56868 0.56868 1.1374 1.1374 1.706 1.706-1.0392 1.0392-2.0785 2.0785-3.1177 3.1177 1.0083 1.0083 2.0166 2.0166 3.025 3.025 1.0392-1.0392 2.0785-2.0785 3.1177-3.1177 0.56868 0.56868 1.1374 1.1374 1.706 1.706 0.45396-2.5996 0.90792-5.1993 1.3619-7.7989z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
||||
background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg width%3D%2211%22 height%3D%2211%22 version%3D%221.1%22 viewBox%3D%220 0 14.364 15.028%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22 xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22 xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22 %3E%3Cmetadata%3E%3Crdf%3ARDF%3E%3Ccc%3AWork%3E%3Cdc%3Acreator%3E%3Ccc%3AAgent%3E%3Cdc%3Atitle%3Ehttps%3A%2F%2Fgithub.com%2Fpgonzal%3C%2Fdc%3Atitle%3E%3C%2Fcc%3AAgent%3E%3C%2Fdc%3Acreator%3E%3C%2Fcc%3AWork%3E%3C%2Frdf%3ARDF%3E%3C%2Fmetadata%3E%3Cg transform%3D%22translate(-82.14 -158.93)%22 fill%3D%22%23108938%22 %3E%3Cpath d%3D%22m83.4 161.53c-0.80824-0.0237-1.3558 0.80437-1.2464 1.5543 0.0038 3.237-0.0077 6.4743 0.0058 9.711 0.0539 0.73242 0.77982 1.2548 1.4899 1.151 3.2712-5e-3 6.543 0.01 9.8138-7e-3 0.75077-0.0663 1.2005-0.84784 1.1068-1.5494v-4.0444h-2.1993v3.4019h-8.0176v-8.0176h1.6784v-2.1994h-2.6314z%22%2F%3E%3Cpath d%3D%22m96.504 158.93c-2.5996 0.45395-5.1993 0.90791-7.7989 1.3619 0.56868 0.56868 1.1374 1.1374 1.706 1.706-1.0392 1.0392-2.0785 2.0785-3.1177 3.1177 1.0083 1.0083 2.0166 2.0166 3.025 3.025 1.0392-1.0392 2.0785-2.0785 3.1177-3.1177 0.56868 0.56868 1.1374 1.1374 1.706 1.706 0.45396-2.5996 0.90792-5.1993 1.3619-7.7989z%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
|
||||
html {
|
||||
|
|
|
@ -19,8 +19,16 @@
|
|||
.navbar-btn {
|
||||
color: $white !important;
|
||||
background-color: none !important;
|
||||
|
||||
&:focus {
|
||||
color: $white !important;
|
||||
text-decoration: underline solid $white 2px;
|
||||
outline: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.navbar-btn-main {
|
||||
color: $white !important;
|
||||
background-color: $primary !important;
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
.highlight pre, pre, .highlight .hll { background-color: $light; border: 1px solid #ccc; padding: 6px 10px; border-radius: 3px; }
|
||||
|
||||
.highlight .hll { background-color: #ffffcc }
|
||||
.highlight .c { color: #408080; font-style: italic } /* Comment */
|
||||
.highlight .c { color: #397272; font-style: italic } /* Comment */
|
||||
.highlight .err { border: 1px solid #FF0000 } /* Error */
|
||||
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
|
||||
.highlight .o { color: #666666 } /* Operator */
|
||||
.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */
|
||||
.highlight .cm { color: #397272; font-style: italic } /* Comment.Multiline */
|
||||
.highlight .cp { color: #BC7A00 } /* Comment.Preproc */
|
||||
.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */
|
||||
.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */
|
||||
.highlight .c1 { color: #397272; font-style: italic } /* Comment.Single */
|
||||
.highlight .cs { color: #397272; font-style: italic } /* Comment.Special */
|
||||
.highlight .gd { color: #A00000 } /* Generic.Deleted */
|
||||
.highlight .ge { font-style: italic } /* Generic.Emph */
|
||||
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
||||
|
|
|
@ -8,7 +8,7 @@ $gray-200: #e9ecef !default;
|
|||
$gray-300: #dee2e6 !default;
|
||||
$gray-400: #ced4da !default;
|
||||
$gray-500: #adb5bd !default;
|
||||
$gray-600: #868e96 !default;
|
||||
$gray-600: #666c72 !default;
|
||||
$gray-700: #495057 !default;
|
||||
$gray-800: #343a40 !default;
|
||||
$gray-900: #212529 !default;
|
||||
|
@ -25,8 +25,8 @@ $green: #28a745 !default;
|
|||
$teal: #20c997 !default;
|
||||
$cyan: #17a2b8 !default;
|
||||
|
||||
$primary: #006931 !default;
|
||||
$logo-color: #1e9348 !default;
|
||||
$primary: #006721 !default;
|
||||
$logo-color: #108938 !default;
|
||||
|
||||
$secondary: $gray-600 !default;
|
||||
$success: $green !default;
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<svg width="408.50967" height="352.36246" version="1.1" viewBox="0 0 408.50967 352.36247" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><title>404 - PAGE NOT FOUND</title><metadata><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title>404 - PAGE NOT FOUND</dc:title></cc:Work></rdf:RDF></metadata><defs><style>.a,.c{fill:#fff;}.b{fill:#1e9348;}.c{stroke:#bcbcbc;stroke-miterlimit:10;stroke-width:10px;}.d{fill:#bcbcbc;}</style></defs><rect class="a" transform="rotate(-12.31332)" x="-9.2244186" y="236.72571" width="108" height="108" fill="#fff"/><path class="b" d="m134.85119 182.98348-130.9174816 28.57654a5 5 0 0 0-3.81869001 5.95126l28.57649961 130.91747a5 5 0 0 0 5.95127 3.8187l130.917472-28.57651a5 5 0 0 0 3.81869-5.95126l-28.5765-130.91747a5 5 0 0 0-5.95126-3.81873zm9.45784 104.28835-4.4848 13.96517-20.9191-8.86784 6.89019 21.55778-15.02817 3.28033-2.79157-22.45243-15.249192 16.76264-9.96811-10.8104 18.199432-13.60027-22.211302-4.77947 4.55671-13.98087 20.847192 8.88354-6.818342-21.57346 15.028172-3.28034 2.71972 22.46811 15.3211-16.77831 9.8962 10.82611-18.12747 13.58457z" fill="#1e9348"/><g fill="#fff" stroke="#bcbcbc" stroke-miterlimit="10" stroke-width="10px"><path class="c" d="m231.51542 128.36102a52.658 52.658 0 0 0 21.82059 3.6457 39.86373 39.86373 0 0 0 74.55688 4.71838 49.71231 49.71231 0 1 0 32.40282-91.719324 56.14045 56.14045 0 0 0-98.65487-17.58791 52.86817 52.86817 0 0 0-30.12543 100.943154z"/><circle class="c" cx="224.88144" cy="179.10568" r="18.76322"/><circle class="c" cx="188.0508" cy="213.50877" r="10.94906"/></g><path class="d" d="m294.08712 100.92601h-4e-3a9.87874 9.87874 0 0 0-7.31193 2.16434 9.73078 9.73078 0 0 0-3.62978 6.75193 10.18676 10.18676 0 0 0 2.15343 7.50466 9.72343 9.72343 0 0 0 6.79048 3.70541q0.51818 0.0513 1.02544 0.0509a9.67859 9.67859 0 0 0 6.37812-2.38761 10.22418 10.22418 0 0 0 3.56869-6.89157 9.98455 9.98455 0 0 0-8.97082-10.89807z" fill="#bcbcbc"/><path class="d" d="m318.77124 41.370246a23.59351 23.59351 0 0 0-16.11911-7.99846c-6.485-0.64509-12.16715 0.71417-16.89729 4.04141-4.90467 3.45087-7.64937 7.78683-8.15773 12.88787a12.7955 12.7955 0 0 0 2.05671 8.853 10.04106 10.04106 0 0 0 7.3941 4.4065 9.21668 9.21668 0 0 0 7.01084-2.112 9.504 9.504 0 0 0 3.34469-6.47848c0.20946-2.10689-0.26181-5.30394-3.71414-8.58682-0.11127-0.10327-0.20582-0.19709-0.28582-0.28072a6.27139 6.27139 0 0 1 1.20872-0.8909 8.154 8.154 0 0 1 5.13813-0.90909 7.38143 7.38143 0 0 1 5.47049 3.12579 10.427 10.427 0 0 1 1.74107 7.62247 21.435 21.435 0 0 1-1.824 6.96284 26.337 26.337 0 0 1-4.75922 6.62029c-4.44141 4.75632-5.76358 6.60066-6.3723 7.57593a25.31182 25.31182 0 0 0-2.64143 6.36575 59.3509 59.3509 0 0 0-1.744 10.28353l-0.36873 3.70542 10.0959 1.00508 0.43636-3.621c0.704-5.83776 1.76144-8.21883 2.33016-9.12064 0.59345-0.94035 2.59852-3.25887 9.38536-8.23264 4.7665-3.54688 7.66247-6.28794 9.12572-8.64064a23.83359 23.83359 0 0 0 3.34252-10.24935 20.95225 20.95225 0 0 0-5.197-16.33514z" fill="#bcbcbc"/></svg>
|
||||
<svg width="408.50967" height="352.36246" version="1.1" viewBox="0 0 408.50967 352.36247" xmlns="http://www.w3.org/2000/svg" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><title>404 - PAGE NOT FOUND</title><metadata><rdf:RDF><cc:Work rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/><dc:title>404 - PAGE NOT FOUND</dc:title></cc:Work></rdf:RDF></metadata><defs><style>.a,.c{fill:#fff;}.b{fill:#108938;}.c{stroke:#bcbcbc;stroke-miterlimit:10;stroke-width:10px;}.d{fill:#bcbcbc;}</style></defs><rect class="a" transform="rotate(-12.31332)" x="-9.2244186" y="236.72571" width="108" height="108" fill="#fff"/><path class="b" d="m134.85119 182.98348-130.9174816 28.57654a5 5 0 0 0-3.81869001 5.95126l28.57649961 130.91747a5 5 0 0 0 5.95127 3.8187l130.917472-28.57651a5 5 0 0 0 3.81869-5.95126l-28.5765-130.91747a5 5 0 0 0-5.95126-3.81873zm9.45784 104.28835-4.4848 13.96517-20.9191-8.86784 6.89019 21.55778-15.02817 3.28033-2.79157-22.45243-15.249192 16.76264-9.96811-10.8104 18.199432-13.60027-22.211302-4.77947 4.55671-13.98087 20.847192 8.88354-6.818342-21.57346 15.028172-3.28034 2.71972 22.46811 15.3211-16.77831 9.8962 10.82611-18.12747 13.58457z" fill="#108938"/><g fill="#fff" stroke="#bcbcbc" stroke-miterlimit="10" stroke-width="10px"><path class="c" d="m231.51542 128.36102a52.658 52.658 0 0 0 21.82059 3.6457 39.86373 39.86373 0 0 0 74.55688 4.71838 49.71231 49.71231 0 1 0 32.40282-91.719324 56.14045 56.14045 0 0 0-98.65487-17.58791 52.86817 52.86817 0 0 0-30.12543 100.943154z"/><circle class="c" cx="224.88144" cy="179.10568" r="18.76322"/><circle class="c" cx="188.0508" cy="213.50877" r="10.94906"/></g><path class="d" d="m294.08712 100.92601h-4e-3a9.87874 9.87874 0 0 0-7.31193 2.16434 9.73078 9.73078 0 0 0-3.62978 6.75193 10.18676 10.18676 0 0 0 2.15343 7.50466 9.72343 9.72343 0 0 0 6.79048 3.70541q0.51818 0.0513 1.02544 0.0509a9.67859 9.67859 0 0 0 6.37812-2.38761 10.22418 10.22418 0 0 0 3.56869-6.89157 9.98455 9.98455 0 0 0-8.97082-10.89807z" fill="#bcbcbc"/><path class="d" d="m318.77124 41.370246a23.59351 23.59351 0 0 0-16.11911-7.99846c-6.485-0.64509-12.16715 0.71417-16.89729 4.04141-4.90467 3.45087-7.64937 7.78683-8.15773 12.88787a12.7955 12.7955 0 0 0 2.05671 8.853 10.04106 10.04106 0 0 0 7.3941 4.4065 9.21668 9.21668 0 0 0 7.01084-2.112 9.504 9.504 0 0 0 3.34469-6.47848c0.20946-2.10689-0.26181-5.30394-3.71414-8.58682-0.11127-0.10327-0.20582-0.19709-0.28582-0.28072a6.27139 6.27139 0 0 1 1.20872-0.8909 8.154 8.154 0 0 1 5.13813-0.90909 7.38143 7.38143 0 0 1 5.47049 3.12579 10.427 10.427 0 0 1 1.74107 7.62247 21.435 21.435 0 0 1-1.824 6.96284 26.337 26.337 0 0 1-4.75922 6.62029c-4.44141 4.75632-5.76358 6.60066-6.3723 7.57593a25.31182 25.31182 0 0 0-2.64143 6.36575 59.3509 59.3509 0 0 0-1.744 10.28353l-0.36873 3.70542 10.0959 1.00508 0.43636-3.621c0.704-5.83776 1.76144-8.21883 2.33016-9.12064 0.59345-0.94035 2.59852-3.25887 9.38536-8.23264 4.7665-3.54688 7.66247-6.28794 9.12572-8.64064a23.83359 23.83359 0 0 0 3.34252-10.24935 20.95225 20.95225 0 0 0-5.197-16.33514z" fill="#bcbcbc"/></svg>
|
||||
|
|
До Ширина: | Высота: | Размер: 3.2 KiB После Ширина: | Высота: | Размер: 3.2 KiB |
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
До Ширина: | Высота: | Размер: 5.2 KiB После Ширина: | Высота: | Размер: 5.2 KiB |
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
До Ширина: | Высота: | Размер: 5.3 KiB После Ширина: | Высота: | Размер: 5.3 KiB |
Загрузка…
Ссылка в новой задаче