Demonstrating markdown use in docs

This commit is contained in:
Tim Schaub
2015-04-06 11:08:24 -06:00
parent 121a83f19e
commit ab7b6d95dc
2 changed files with 6 additions and 7 deletions

View File

@@ -3,8 +3,11 @@ template: example.html
title: Accessibility example
shortdesc: Example of an accessible map.
docs: >
<p>This page's <code>map</code> element has its <code>tabindex</code> attribute set to <code>"0"</code>, that makes it focusable. To focus the map element you can either navigate to it using the "tab" key or use the skip link. When the <code>map</code> element is focused the + and - keys can be used to zoom in and out and the arrow keys can be used to pan.</p>
<p>When clicked the "Zoom in" and "Zoom out" buttons below the map zoom the map in and out, respectively. You can navigate to the buttons using the "tab" key, and press the "enter" key to trigger the zooming action.</p>
This page's `map` element has its `tabindex` attribute set to `"0"`, that makes it focusable. To focus the map element you can either navigate to it using the "tab" key or use the skip link. When the `map` element is focused the + and - keys can be used to zoom in and out and the arrow keys can be used to pan.
Clicking on the "Zoom in" and "Zoom out" buttons below the map zooms the map in and out. You can navigate to the buttons using the "tab" key, and press the "enter" key to trigger the zooming action.
tags: "accessibility, tabindex"
---
<div class="row-fluid">