Skip to content

Commit

Permalink
add description of how to use the select accessibly
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanb committed Jun 29, 2015
1 parent 70b4277 commit 42a0e73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onchange_select.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<body>
<form>
<p>
This form is to test out the keyboard-only accessibility of a select element with an onchange handler that inserts something new into the DOM.
This form is to test out the keyboard-only accessibility of a select element with an onchange handler that inserts something new into the DOM. All browsers have a way to select something from a select that does not trigger the onchange event. In Chrome, Safari and IE, use the space bar. In Firefox, use the F4 key.
</p>
<label>
Choose One
Expand All @@ -33,7 +33,7 @@
<script>
jQuery(document).ready(function () {
jQuery('#dynamo').on('change', function (e) {
if (jQuery(this).val()) {
if (jQuery(this).val()) {
jQuery('#chosen').show();
} else {
jQuery('#chosen').hide();
Expand Down

0 comments on commit 42a0e73

Please sign in to comment.