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("</style>");
writer.println("</head>"); writer.println("</head>");
writer.println("<body>"); writer.println("<body>");
writer.println("<ul>"); writer.println("<ul role=\"navigation\">");
for (Node node : components) { for (Node node : components) {
node.documentIndex(writer); node.documentIndex(writer);
} }
writer.println("</ul>"); writer.println("</ul>");
writer.println("<div role=\"main\">");
for (Node node : components) { for (Node node : components) {
node.document(writer); node.document(writer);
} }
writer.println("</div>");
writer.println("</body></html>"); writer.println("</body></html>");
} }

View File

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

View File

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