Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Commit

Permalink
- Made accessibility edits in various files (aria-label attributes. u…
Browse files Browse the repository at this point in the history
…nique IDs, etc.).

- Google Search code cleanup
  • Loading branch information
kkoryaka committed Dec 29, 2017
1 parent ed33d8f commit 34feff7
Show file tree
Hide file tree
Showing 31 changed files with 186 additions and 112 deletions.
26 changes: 22 additions & 4 deletions agency-profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,34 @@
</div>

<ul class="list-inline list-unstyled">
<li><a href=""><span class="ca-gov-icon-twitter" aria-hidden="true"><span class="sr-only">Twitter</span></span></a></li>
<li><a href=""><span class="ca-gov-icon-facebook" aria-hidden="true"><span class="sr-only">Facebook</span></span></a></li>
<li><a href=""><span class="ca-gov-icon-google-plus" aria-hidden="true"><span class="sr-only">Google+</span></span></a></li>
<li>
<a href="">
<span class="ca-gov-icon-twitter">
<span class="sr-only">Twitter</span>
</span>
</a>
</li>
<li>
<a href="">
<span class="ca-gov-icon-facebook">
<span class="sr-only">Facebook</span>
</span>
</a>
</li>
<li>
<a href="">
<span class="ca-gov-icon-google-plus">
<span class="sr-only">Google+</span>
</span>
</a>
</li>
</ul>
</div>

<div class="quarter">
<!-- Embeded Youtube Video -->
<div class="video-player" data-sly-test="${!properties.lightbox}">
<iframe class="youtube-player" src="https://www.youtube.com/embed/V3Z9ugTj4-o" frameborder="0" allowfullscreen></iframe>
<iframe title="DMV Youtube video" class="youtube-player" src="https://www.youtube.com/embed/V3Z9ugTj4-o" frameborder="0" allowfullscreen=""></iframe>
</div>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions general-landing.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,13 +413,13 @@
<div class="container">
<div class="carousel owl-carousel carousel-content">
<div class="item">
<a href=""><img src="/sample/images/ad-ui-online.jpg" alt=""></a>
<a href=""><img src="/sample/images/ad-ui-online.jpg" alt="UI Online" /></a>
</div>
<div class="item">
<a href=""><img src="/sample/images/ad-apps.jpg" alt=""></a>
<a href=""><img src="/sample/images/ad-apps.jpg" alt="Apps" /></a>
</div>
<div class="item">
<a href=""><img src="/sample/images/ad-survey.png" alt=""></a>
<a href=""><img src="/sample/images/ad-survey.png" alt="Survey" /></a>
</div>
</div>
</div>
Expand Down
13 changes: 0 additions & 13 deletions js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,17 +98,4 @@ _gaq.push(['b._trackPageview']);

}


var cx = '001779225245372747843:9s-idxui5pk';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script');
s[s.length - 1].parentNode.insertBefore(gcse, s[s.length - 1]);





})();
36 changes: 30 additions & 6 deletions profile-landing.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,27 @@
</div>

<ul class="list-inline list-unstyled m-t-md">
<li><a href=""><span class="ca-gov-icon-twitter" aria-hidden="true"><span class="sr-only">Twitter</span></span></a></li>
<li><a href=""><span class="ca-gov-icon-facebook" aria-hidden="true"><span class="sr-only">Facebook</span></span></a></li>
<li><a href=""><span class="ca-gov-icon-google-plus" aria-hidden="true"><span class="sr-only">Google+</span></span></a></li>
<li>
<a href="">
<span class="ca-gov-icon-twitter">
<span class="sr-only">Twitter</span>
</span>
</a>
</li>
<li>
<a href="">
<span class="ca-gov-icon-facebook">
<span class="sr-only">Facebook</span>
</span>
</a>
</li>
<li>
<a href="">
<span class="ca-gov-icon-google-plus">
<span class="sr-only">Google+</span>
</span>
</a>
</li>
</ul>
</div>
</div>
Expand Down Expand Up @@ -142,13 +160,19 @@
<div class="container">
<div class="carousel owl-carousel carousel-content">
<div class="item">
<a href=""><img src="/sample/images/ad-ui-online.jpg" alt=""></a>
<a href="">
<img src="/sample/images/ad-ui-online.jpg" alt="UI Online" />
</a>
</div>
<div class="item">
<a href=""><img src="/sample/images/ad-apps.jpg" alt=""></a>
<a href="">
<img src="/sample/images/ad-apps.jpg" alt="Apps" />
</a>
</div>
<div class="item">
<a href=""><img src="/sample/images/ad-survey.png" alt=""></a>
<a href="">
<img src="/sample/images/ad-survey.png" alt="Survey" />
</a>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions sample/breadcrumb.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@
<?php include("../sample/modules/breadcrumb-dynamic.php"); ?>
</div>
<div class="half">
<h2><label for="sample-media">Source Code:</label></h2>
<textarea id="sample-media" class="form-control" rows="10" cols="80"><?php include("../sample/modules/breadcrumb-dynamic.php"); ?></textarea>
<h2><label for="sample-media-dynamic">Source Code:</label></h2>
<textarea id="sample-media-dynamic" class="form-control" rows="10" cols="80"><?php include("../sample/modules/breadcrumb-dynamic.php"); ?></textarea>
</div>
</div>
</main>
Expand Down
34 changes: 25 additions & 9 deletions sample/contact-widgets.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,24 @@

<div class="tab-group">
<ul id="sourceCode" class="nav nav-tabs" role="tablist">
<li class="active"><a href="#panelhtml" role="tab" data-toggle="tab">HTML Markup</a></li>
<li><a href="#panelmicrodata" role="tab" data-toggle="tab">Microdata</a></li>
<li class="active">
<a href="#panelhtml" role="tab" data-toggle="tab">
<label for="within-panel-html">HTML Markup</label>
</a>
</li>
<li>
<a href="#panelmicrodata" role="tab" data-toggle="tab">
<label for="within-panel-microdata">Microdata</label>
</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content responsive">
<div class="tab-pane active" id="panelhtml">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/contact-panel.php"); ?></textarea>
<textarea id="within-panel-html" class="form-control" rows="10" cols="80"><?php include("../sample/modules/contact-panel.php"); ?></textarea>
</div>
<div class="tab-pane" id="panelmicrodata">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/contact-panel-schema.php"); ?></textarea>
<textarea id="within-panel-microdata" class="form-control" rows="10" cols="80"><?php include("../sample/modules/contact-panel-schema.php"); ?></textarea>
</div>
</div>
</div>
Expand All @@ -98,17 +106,25 @@
<div class="half">
<h2>Source Code:</h2>
<div class="tab-group">
<ul id="sourceCode" class="nav nav-tabs" role="tablist">
<li class="active"><a href="#html" role="tab" data-toggle="tab">HTML Markup</a></li>
<li><a href="#microdata" role="tab" data-toggle="tab">Microdata</a></li>
<ul id="sourceCode2" class="nav nav-tabs" role="tablist">
<li class="active">
<a href="#html" role="tab" data-toggle="tab">
<label for="without-panel-html">HTML Markup</label>
</a>
</li>
<li>
<a href="#microdata" role="tab" data-toggle="tab">
<label for="without-panel-microdata">Microdata</label>
</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content responsive">
<div class="tab-pane active" id="html">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/contact.php"); ?></textarea>
<textarea id="without-panel-html" class="form-control" rows="10" cols="80"><?php include("../sample/modules/contact.php"); ?></textarea>
</div>
<div class="tab-pane" id="microdata">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/contact-schema.php"); ?></textarea>
<textarea id="without-panel-microdata" class="form-control" rows="10" cols="80"><?php include("../sample/modules/contact-schema.php"); ?></textarea>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions sample/course-detail-panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@
<!-- Tab panes -->
<div class="tab-content responsive">
<div class="tab-pane active" id="html">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/course-detail-panel.php"); ?></textarea>
<textarea aria-label="HTML Markup" class="form-control" rows="10" cols="80"><?php include("../sample/modules/course-detail-panel.php"); ?></textarea>
</div>
<div class="tab-pane" id="microdata">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/course-detail-panel-schema.php"); ?></textarea>
<textarea aria-label="Microdata" class="form-control" rows="10" cols="80"><?php include("../sample/modules/course-detail-panel-schema.php"); ?></textarea>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions sample/course-detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@
<!-- Tab panes -->
<div class="tab-content responsive">
<div class="tab-pane active" id="html">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/course-detail.php"); ?></textarea>
<textarea aria-label="HTML Markup" class="form-control" rows="10" cols="80"><?php include("../sample/modules/course-detail.php"); ?></textarea>
</div>
<div class="tab-pane" id="microdata">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/course-detail-schema.php"); ?></textarea>
<textarea aria-label="Microdata" class="form-control" rows="10" cols="80"><?php include("../sample/modules/course-detail-schema.php"); ?></textarea>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions sample/event-detail.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@
<!-- Tab panes -->
<div class="tab-content responsive">
<div class="tab-pane active" id="html">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-detail.php"); ?></textarea>
<textarea aria-label="HTML Markup" class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-detail.php"); ?></textarea>
</div>
<div class="tab-pane" id="microdata">
<p class="alert alert-info">NOTE: This module makes use of a <code>datetime</code> property set in the <strong>ISO 8601</strong> format. Be sure to set the time correctly for each event item.</p>
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-detail-schema.php"); ?></textarea>
<textarea aria-label="Microdata" class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-detail-schema.php"); ?></textarea>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions sample/event-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@
<!-- Tab panes -->
<div class="tab-content responsive">
<div class="tab-pane active" id="html">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-list.php"); ?></textarea>
<textarea aria-label="HTML Markup" class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-list.php"); ?></textarea>
</div>
<div class="tab-pane" id="microdata">
<p class="alert alert-info">NOTE: This module makes use of a <code>datetime</code> property set in the <strong>ISO 8601</strong> format. Be sure to set the time correctly for each event-item.</p>
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-list-schema.php"); ?></textarea>
<textarea aria-label="Microdata" class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-list-schema.php"); ?></textarea>
</div>
</div>
</div>
Expand All @@ -115,11 +115,11 @@
<!-- Tab panes -->
<div class="tab-content responsive">
<div class="tab-pane active" id="thumbhtml">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-list-thumbnail.php"); ?></textarea>
<textarea aria-label="HTML Markup" class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-list-thumbnail.php"); ?></textarea>
</div>
<div class="tab-pane" id="thumbmicrodata">
<p class="alert alert-info">NOTE: This module makes use of a <code>datetime</code> property set in the <strong>ISO 8601</strong> format. Be sure to set the time correctly for each event-item.</p>
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-list-thumbnail-schema.php"); ?></textarea>
<textarea aria-label="Microdata" class="form-control" rows="10" cols="80"><?php include("../sample/modules/event-list-thumbnail-schema.php"); ?></textarea>
</div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions sample/exam-list.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@
</div>
<div class="half">
<h2>Source Code:</h2>
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/exam-list.php"); ?></textarea>

<textarea aria-label="HTML Markup" class="form-control" rows="10" cols="80"><?php include("../sample/modules/exam-list.php"); ?></textarea>

</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions sample/figure.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@
<!-- Tab panes -->
<div class="tab-content responsive">
<div class="tab-pane active" id="html">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/figure.php"); ?></textarea>
<textarea aria-label="HTML Markup" class="form-control" rows="10" cols="80"><?php include("../sample/modules/figure.php"); ?></textarea>
</div>
<div class="tab-pane" id="microdata">
<textarea class="form-control" rows="10" cols="80"><?php include("../sample/modules/media-schema.php"); ?></textarea>
<textarea aria-label="Microdata" class="form-control" rows="10" cols="80"><?php include("../sample/modules/media-schema.php"); ?></textarea>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion sample/hero-info.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
</ol>

<h1>Hero Info</h1>
<p>Here Info is a large section that presents an overview of the site's most important content, prominently placed on a web page, generally in the front and center.</p>
<p>Hero Info is a large section that presents an overview of the site's most important content, prominently placed on a web page, generally in the front and center.</p>

<h2>Example:</h2>
<hr />
Expand Down
Loading

0 comments on commit 34feff7

Please sign in to comment.