Details
-
Type:
Sub-task
-
Status: Verified
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.9.0
-
Fix Version/s: 10.0
-
Component/s: Tests & Quizzes (Samigo)
-
Labels:
-
Environment:Sakai 2.9.0-B03 QA Servers
Description
An onkeypress handler on the "Open" and "Close" links cause the links to activate when a user simply tabs off of the links. Users should be able to navigate (tab) through all the controls without the controls activating unintentionally.
The onkeypress handlers on the links are redundant to the onclick handler and are causing problems for keyboard only users. For examples, please see the parent JIRA issue.
The onkeypress handler is not needed as Web Browsers will fire the onclick handler on links and buttons even if they are activated by a keyboard interaction.
Suggested fix: Remove the redundant onkeypress handler from the "Open" and "Close" links.
Change:
<p>
<a title="Open All Menus" onkeypress="showDivs();" onclick="showDivs();" href="#">Open</a> |
<a title="Close All Menus" onkeypress="hideDivs();" onclick="hideDivs();" href="#">Close</a> All Menus
</p>
To:
<p>
<a title="Open All Menus" onclick="showDivs();" href="#">Open</a> |
<a title="Close All Menus" onclick="hideDivs();" href="#">Close</a> All Menus
</p>
Gliffy Diagrams
Zeplin
Attachments
Issue Links
- mentioned in
-
Page Loading...