Skip to content

Commit 8c39ac1

Browse files
patrickhlaukekfranqueiro
authored andcommitted
Update techniques/client-side-script/SCR35.html
1 parent c741cab commit 8c39ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

techniques/client-side-script/SCR35.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h2>Examples</h2>
2525
<section class="example">
2626
<h3>Link that runs a script and has no fallback for non-scripted browsers</h3>
2727
<p>This approach should only be used when script is relied upon as an Accessibility Supported Technology.</p>
28-
<p>Even though we do not want to navigate from this link, we must use the href attribute on the <code>a</code> element in order to make this a true link and get the proper eventing. In this case, we're using <code>"#"</code> as the link target, but you could use anything. This link will never be navigated.</p>
28+
<p>Even though we do not want to navigate from this link, we must use the <code>href</code> attribute on the <code>a</code> element in order to make this a true link and get the proper eventing. In this case, we're using <code>href="#"</code> as the link target, but you could use anything. This link will never be navigated.</p>
2929
<p>The "<code>return false;</code>" at the end of the <code>doStuff()</code> event handling function tells the browser not to navigate to the <abbr title="Uniform Resource Identifier">URI</abbr>. Without it, the page would refresh after the script ran.</p>
3030

3131
<pre xml:space="preserve"><code class="language-html">&lt;script&gt;

0 commit comments

Comments
 (0)