Tue, 31 Mar 2015 11:52:45 -0700
Merge
1 /*
2 * @test /nodynamiccopyright/
3 * @bug 8004832
4 * @summary Add new doclint package
5 * @build DocLintTester
6 * @run main DocLintTester -Xmsgs:-accessibility AccessibilityTest.java
7 * @run main DocLintTester -ref AccessibilityTest.out AccessibilityTest.java
8 */
10 /** */
11 public class AccessibilityTest {
13 /**
14 * <h2> ... </h2>
15 */
16 public void missing_h1() { }
18 /**
19 * <h1> ... </h1>
20 * <h3> ... </h3>
21 */
22 public void missing_h2() { }
24 /**
25 * <img src="x.jpg">
26 */
27 public void missing_alt() { }
29 /**
30 * <table summary="ok"><tr><th>head<tr><td>data</table>
31 */
32 public void table_with_summary() { }
34 /**
35 * <table><caption>ok</caption><tr><th>head<tr><td>data</table>
36 */
37 public void table_with_caption() { }
39 /**
40 * <table><tr><th>head<tr><td>data</table>
41 */
42 public void table_without_summary_and_caption() { }
43 }