forked from jazahn/A11yGoat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
operable.html
25 lines (24 loc) · 1.15 KB
/
operable.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
layout: grouping
title: Operable
description:
---
<ul class="list-inline">
{% assign sorted_examples = site.examples | sort:"relatesto" | where: "pour", "operable" %}
{% for example in sorted_examples %}
{% if example.accessible == false %}
<li class="" style="height:450px; width:220px; vertical-align: top;">
<svg height="140" width="140">
<title>{{ example.relatesto }}</title>
<desc>This relates to section {{ example.relatesto }} of WCAG 2.0.</desc>
<circle cx="70" cy="70" r="68" stroke="grey" stroke-width="3" fill="grey" />
<text x="40" y="75" fill="white" style="font-size: 2em;">{{ example.relatesto }}</text>
</svg>
<!-- <img class="img-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="Generic placeholder image" style="width: 140px; height: 140px;"> -->
<h2>{{ example.title }}</h2>
<p>{{ example.description }}</p>
<p><a class="btn btn-default" href="{{ example.url | prepend: site.baseurl }}" role="button">Inaccessible Example »</a></p>
</li>
{% endif %}
{% endfor %}
</ul>