Skip to content

Commit c367581

Browse files
committed
Merge pull request #29 from peol/focusstyling
Focus styling, fixes #24
2 parents b2230f1 + 84cdc48 commit c367581

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

base/css/style.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
background: transparent; }
1414

1515
*:focus
16-
{ outline: none; }
16+
{ outline: 1px dotted #FFF; }
17+
18+
/* Darker focus border inside #body where the background is
19+
white-ish: */
20+
#body *:focus
21+
{ outline: 1px dotted #666; }
1722

1823
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section
1924
{ display: block; }

themes/jquery/header.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,31 +72,31 @@
7272
<div class="project-select">
7373
<ul class="constrain">
7474
<li>
75-
<a href="http://jquery.com/" title="" class="">
75+
<a href="http://jquery.com/" title="" class="" tabindex="-1">
7676
<img src="<?php echo content_url(); ?>/base/i/logo-top-jquery.png" alt="jQuery" />
7777
<em>The core JS framework that allows you to write less, do more.</em>
7878
</a>
7979
</li>
8080
<li>
81-
<a href="http://jqueryui.com/" title="" class="">
81+
<a href="http://jqueryui.com/" title="" class="" tabindex="-1">
8282
<img src="<?php echo content_url(); ?>/base/i/logo-top-ui.png" alt="jQuery UI" />
8383
<em>The officially supported User Interface library for jQuery.</em>
8484
</a>
8585
</li>
8686
<li>
87-
<a href="http://jquerymobile.com/" title="" class="">
87+
<a href="http://jquerymobile.com/" title="" class="" tabindex="-1">
8888
<img src="<?php echo content_url(); ?>/base/i/logo-top-mobile.png" alt="jQuery Mobile">
8989
<em>Build mobile web apps with jQuery using this framework.</em>
9090
</a>
9191
</li>
9292
<li>
93-
<a href="http://sizzlejs.com/" title="" class="">
93+
<a href="http://sizzlejs.com/" title="" class="" tabindex="-1">
9494
<img src="<?php echo content_url(); ?>/base/i/logo-top-sizzlejs.png" alt="SizzleJS" />
9595
<em>A smoking fast CSS selector engine for JavaScript.</em>
9696
</a>
9797
</li>
9898
<li>
99-
<a href="http://qunitjs.com/" title="" class="">
99+
<a href="http://qunitjs.com/" title="" class="" tabindex="-1">
100100
<img src="<?php echo content_url(); ?>/base/i/logo-top-qunitjs.png" alt="QUnit" />
101101
<em>Write solid JavaScript apps by unit testing with QUnit.</em>
102102
</a>

0 commit comments

Comments
 (0)