8199155: Accessibility issues in jdk.jdi

Reviewed-by: dtitov, sspitsyn
This commit is contained in:
Alex Menkov 2018-07-26 11:31:15 -07:00
parent b62d703d9a
commit 2a213d1685
3 changed files with 14 additions and 5 deletions

View File

@ -52,14 +52,16 @@ class RootNode extends AbstractNamedNode {
writer.println("</style>");
writer.println("</head>");
writer.println("<body>");
writer.println("<ul>");
writer.println("<ul role=\"navigation\">");
for (Node node : components) {
node.documentIndex(writer);
}
writer.println("</ul>");
writer.println("<div role=\"main\">");
for (Node node : components) {
node.document(writer);
}
writer.println("</div>");
writer.println("</body></html>");
}

View File

@ -59,10 +59,10 @@
</style>
</head>
<body>
<div class="centered">
<div class="centered" role="banner">
<xsl:apply-templates select="title"/>
</div>
<ul>
<ul role="navigation">
<li>
<a href="#SpecificationIntro"><b>Introduction</b></a>
<ul>
@ -167,6 +167,7 @@
</li>
</ul>
<!-- end table of contents, begin body -->
<div role="main">
<div class="sep"/>
<hr class="thick"/>
<div class="sep"/>
@ -202,6 +203,7 @@
</xsl:if>
<p id="ChangeHistory"/>
<xsl:apply-templates select="changehistory"/>
</div>
</body>
</html>
</xsl:template>

View File

@ -7,10 +7,15 @@ JDI Type Signatures
<META charset="UTF-8">
<STYLE type="text/css">
tbody th { font-weight: normal }
table {
margin-left: 40px;
margin-top: 1em;
margin-bottom: 1em;
}
</STYLE>
</HEAD>
<BODY style="background-color:white">
<dl><dd>
<div role="main">
<Table Border="0">
<caption style="font-size:x-large"><b>JDI Type Signatures</b></caption>
<thead>
@ -38,11 +43,11 @@ tbody th { font-weight: normal }
<td>method type (including constructors)
</tbody>
</Table>
</dd></dl>
<p>For example, the Java method:
<pre> long f (int n, String s, int[] arr);
</pre>has the following type signature:
<pre> (ILjava/lang/String;[I)J
</pre>
</div>
</BODY>
</HTML>