Skip to content

Commit

Permalink
Improve the tabflow
Browse files Browse the repository at this point in the history
Keyboard users navigate between interactive elements via the Tab key.
Every anchor element creates a tab stop, so redundant links within a
module can create an inefficient overall tab flow, making navigating
with the Tab key a real drag for keyboard users.
http://yaccessibilityblog.com/library/easy-fixes-to-common-accessibility
-problems.html#dupe-links
  • Loading branch information
icaaq authored and rlr committed Apr 29, 2012
1 parent d17932f commit 39e6f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/search/templates/search/includes/result.html
Expand Up @@ -7,7 +7,7 @@
{% endif %}
{% set url = result.url|urlparams(s=s, as=as, r=r, e=engine) %}
<a class="title" href="{{ url }}">{{ result.title }}</a>
<p><a href="{{ url }}">
<p><a tabindex="-1" href="{{ url }}">
{{ result.search_summary|safe }}
</a></p>
{% if result.type == 'question' %}
Expand Down

0 comments on commit 39e6f7a

Please sign in to comment.