Skip to content

Commit 5c3896c

Browse files
author
Alex Menkov
committed
8228547: accessibility errors in jvmti.html
Reviewed-by: jcbeyler, sspitsyn, dholmes
1 parent 864380a commit 5c3896c

File tree

2 files changed

+359
-453
lines changed

2 files changed

+359
-453
lines changed

src/hotspot/share/prims/jvmti.xml

Lines changed: 48 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,14 @@
341341
<!ELEMENT table (tr)+>
342342

343343
<!ELEMENT tr (td|th)*>
344+
<!ATTLIST tr class CDATA #IMPLIED>
344345

345346
<!ELEMENT td ANY>
346347
<!ATTLIST td class CDATA #IMPLIED>
347348

348349
<!ELEMENT th ANY>
349-
<!ATTLIST th class CDATA #IMPLIED>
350+
<!ATTLIST th class CDATA #IMPLIED
351+
scope (col|row) #IMPLIED>
350352

351353
<!ELEMENT ul (li)+>
352354
<!ATTLIST ul type (disc|circle|square) "disc">
@@ -3523,10 +3525,15 @@ class C2 extends C1 implements I2 {
35233525
An instance of class <code>C1</code> will have the
35243526
following field indices:
35253527
<blockquote><table>
3528+
<tr class="bgLight">
3529+
<th class="centered" scope="col">Field</th>
3530+
<th class="centered" scope="col">Index</th>
3531+
<th scope="col">Description</th>
3532+
</tr>
35263533
<tr>
3527-
<td class="centered">
3534+
<th class="centered" scope="row">
35283535
a
3529-
</td>
3536+
</th>
35303537
<td class="centered">
35313538
2
35323539
</td>
@@ -3538,9 +3545,9 @@ class C2 extends C1 implements I2 {
35383545
</td>
35393546
</tr>
35403547
<tr>
3541-
<td class="centered">
3548+
<th class="centered" scope="row">
35423549
b
3543-
</td>
3550+
</th>
35443551
<td class="centered">
35453552
3
35463553
</td>
@@ -3554,10 +3561,15 @@ class C2 extends C1 implements I2 {
35543561
An instance of class <code>C2</code> will have the
35553562
following field indices:
35563563
<blockquote><table>
3564+
<tr class="bgLight">
3565+
<th class="centered" scope="col">Field</th>
3566+
<th class="centered" scope="col">Index</th>
3567+
<th scope="col">Description</th>
3568+
</tr>
35573569
<tr>
3558-
<td class="centered">
3570+
<th class="centered" scope="row">
35593571
a
3560-
</td>
3572+
</th>
35613573
<td class="centered">
35623574
3
35633575
</td>
@@ -3571,9 +3583,9 @@ class C2 extends C1 implements I2 {
35713583
</td>
35723584
</tr>
35733585
<tr>
3574-
<td class="centered">
3586+
<th class="centered" scope="row">
35753587
b
3576-
</td>
3588+
</th>
35773589
<td class="centered">
35783590
4
35793591
</td>
@@ -3582,9 +3594,9 @@ class C2 extends C1 implements I2 {
35823594
</td>
35833595
</tr>
35843596
<tr>
3585-
<td class="centered">
3597+
<th class="centered" scope="row">
35863598
q
3587-
</td>
3599+
</th>
35883600
<td class="centered">
35893601
5
35903602
</td>
@@ -3593,9 +3605,9 @@ class C2 extends C1 implements I2 {
35933605
</td>
35943606
</tr>
35953607
<tr>
3596-
<td class="centered">
3608+
<th class="centered" scope="row">
35973609
r
3598-
</td>
3610+
</th>
35993611
<td class="centered">
36003612
6
36013613
</td>
@@ -3613,10 +3625,15 @@ class C2 extends C1 implements I2 {
36133625
The interface <code>I1</code> will have the
36143626
following field indices:
36153627
<blockquote><table>
3628+
<tr class="bgLight">
3629+
<th class="centered" scope="col">Field</th>
3630+
<th class="centered" scope="col">Index</th>
3631+
<th scope="col">Description</th>
3632+
</tr>
36163633
<tr>
3617-
<td class="centered">
3634+
<th class="centered" scope="row">
36183635
x
3619-
</td>
3636+
</th>
36203637
<td class="centered">
36213638
1
36223639
</td>
@@ -4468,20 +4485,14 @@ class C2 extends C1 implements I2 {
44684485
The table below summarizes this:
44694486
<p/>
44704487
<table>
4471-
<tr>
4488+
<tr class="bgLight">
44724489
<th/>
4473-
<th>
4474-
Controls objects visited
4475-
</th>
4476-
<th>
4477-
Controls objects reported
4478-
</th>
4479-
<th>
4480-
Controls primitives reported
4481-
</th>
4490+
<th class="centered" scope="col">Controls objects visited</th>
4491+
<th class="centered" scope="col">Controls objects reported</th>
4492+
<th class="centered" scope="col">Controls primitives reported</th>
44824493
</tr>
44834494
<tr>
4484-
<th class="leftAligned">
4495+
<th scope="row">
44854496
the
44864497
<datalink id="jvmtiHeapVisitControl">Heap Visit Control Flags</datalink>
44874498
returned by <functionlink id="jvmtiHeapReferenceCallback"/>
@@ -4497,7 +4508,7 @@ class C2 extends C1 implements I2 {
44974508
</td>
44984509
</tr>
44994510
<tr>
4500-
<th class="leftAligned">
4511+
<th scope="row">
45014512
<fieldlink id="array_primitive_value_callback" struct="jvmtiHeapCallbacks"/>
45024513
in <paramlink id="callbacks"/> set
45034514
</th>
@@ -4512,7 +4523,7 @@ class C2 extends C1 implements I2 {
45124523
</td>
45134524
</tr>
45144525
<tr>
4515-
<th class="leftAligned">
4526+
<th scope="row">
45164527
<paramlink id="heap_filter"/>
45174528
</th>
45184529
<td class="centered">
@@ -4526,7 +4537,7 @@ class C2 extends C1 implements I2 {
45264537
</td>
45274538
</tr>
45284539
<tr>
4529-
<th class="leftAligned">
4540+
<th scope="row">
45304541
<paramlink id="klass"/>
45314542
</th>
45324543
<td class="centered">
@@ -4660,20 +4671,14 @@ class C2 extends C1 implements I2 {
46604671
<functionlink id="FollowReferences"/>):
46614672
<p/>
46624673
<table>
4663-
<tr>
4674+
<tr class="bgLight">
46644675
<th/>
4665-
<th>
4666-
Controls objects visited
4667-
</th>
4668-
<th>
4669-
Controls objects reported
4670-
</th>
4671-
<th>
4672-
Controls primitives reported
4673-
</th>
4676+
<th class="centered" scope="col">Controls objects visited</th>
4677+
<th class="centered" scope="col">Controls objects reported</th>
4678+
<th class="centered" scope="col">Controls primitives reported</th>
46744679
</tr>
46754680
<tr>
4676-
<th class="leftAligned">
4681+
<th scope="row">
46774682
the
46784683
<datalink id="jvmtiHeapVisitControl">Heap Visit Control Flags</datalink>
46794684
returned by <functionlink id="jvmtiHeapIterationCallback"/>
@@ -4689,7 +4694,7 @@ class C2 extends C1 implements I2 {
46894694
</td>
46904695
</tr>
46914696
<tr>
4692-
<th class="leftAligned">
4697+
<th scope="row">
46934698
<fieldlink id="array_primitive_value_callback" struct="jvmtiHeapCallbacks"/>
46944699
in <paramlink id="callbacks"/> set
46954700
</th>
@@ -4704,7 +4709,7 @@ class C2 extends C1 implements I2 {
47044709
</td>
47054710
</tr>
47064711
<tr>
4707-
<th class="leftAligned">
4712+
<th scope="row">
47084713
<paramlink id="heap_filter"/>
47094714
</th>
47104715
<td class="centered">
@@ -4718,7 +4723,7 @@ class C2 extends C1 implements I2 {
47184723
</td>
47194724
</tr>
47204725
<tr>
4721-
<th class="leftAligned">
4726+
<th scope="row">
47224727
<paramlink id="klass"/>
47234728
</th>
47244729
<td class="centered">

0 commit comments

Comments
 (0)