Skip to content

Commit

Permalink
8167: [Accessibility]: 'Click here to start using JDK Mission Control…
Browse files Browse the repository at this point in the history
…' button does not have any function to open JDK mission control

Reviewed-by: aptmac
  • Loading branch information
Suchita Chaturvedi committed Jan 29, 2024
1 parent 587ec17 commit 8f9ffb3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion application/org.openjdk.jmc.rcp.intro/content/root.xhtml
Expand Up @@ -10,6 +10,17 @@
<title>Welcome to JDK Mission Control</title>
<link rel="stylesheet" href="root.css" type="text/css" />
</head>

<script>
function enterKeyPressed(event) {
if (event.keyCode == 13) {
window.location.href="http://org.eclipse.ui.intro/runAction?class=org.openjdk.jmc.rcp.intro.CloseIntroAction&amp;pluginId=org.openjdk.jmc.rcp.intro";
return true;
} else {
return false;
}
}
</script>

<body>
<include path="pageparts/banner" />
Expand Down Expand Up @@ -115,7 +126,7 @@

</td></tr></table>

<table tabindex="0"><tr><td>
<table tabindex="0" onkeypress="return enterKeyPressed(event)"><tr><td>
<a href="http://org.eclipse.ui.intro/runAction?class=org.openjdk.jmc.rcp.intro.CloseIntroAction&amp;pluginId=org.openjdk.jmc.rcp.intro" aria-label="Click here to start using JDK Mission Control">
<h2> <img src="images/mission_control_64.png"/><include path="strings/gettowork_title" /></h2>
</a>
Expand Down

0 comments on commit 8f9ffb3

Please sign in to comment.