< prev index next >
src/java.desktop/share/classes/java/awt/doc-files/Modality.html
Print this page
rev 55470 : 8225372: accessibility errors in tables in java.desktop files
Reviewed-by: aivanov
*** 7,17 ****
td {text-align: center;}
tr {text-align: center;}
</style>
</head>
<!--
! Copyright (c) 2005, 2018, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation. Oracle designates this
--- 7,17 ----
td {text-align: center;}
tr {text-align: center;}
</style>
</head>
<!--
! Copyright (c) 2005, 2019, Oracle and/or its affiliates. All rights reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation. Oracle designates this
*** 208,246 ****
M remains unblocked.
<table border="1">
<caption>The Standard Blocking Matrix</caption>
<tbody><tr>
! <td>current/shown</td>
! <td>frame & modeless</td>
! <td>document</td>
! <td>application</td>
! <td>toolkit</td>
</tr>
<tr>
! <td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
! <td>document</td>
<td>blocked</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
! <td>application</td>
<td>blocked</td>
<td>blocked</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
! <td>toolkit</td>
<td>blocked</td>
<td>blocked</td>
<td>blocked</td>
<td>-</td>
</tr>
--- 208,246 ----
M remains unblocked.
<table border="1">
<caption>The Standard Blocking Matrix</caption>
<tbody><tr>
! <th scope="col">current/shown</th>
! <th scope="col">frame & modeless</th>
! <th scope="col">document</th>
! <th scope="col">application</th>
! <th scope="col">toolkit</th>
</tr>
<tr>
! <th scope="row">-</th>
<td>-</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
! <th scope="row">document</th>
<td>blocked</td>
<td>-</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
! <th scope="row">application</th>
<td>blocked</td>
<td>blocked</td>
<td>-</td>
<td>-</td>
</tr>
<tr>
! <th scope="row">toolkit</th>
<td>blocked</td>
<td>blocked</td>
<td>blocked</td>
<td>-</td>
</tr>
*** 376,404 ****
applets and applications launched from Java Web Start.
<a id="Examples"></a>
</p><h2>Examples</h2>
! <table border="0">
<tbody><tr>
<td style="text-align:left" >
<ol>
<li>Frame "F" is shown<br>
<li>Document-modal dialog "D<sub>i</sub>" is shown<br>
<li>F becomes blocked by D<sub>i</sub> — it's in the same document<br>
<li>Document-modal dialog "D<sub>ii</sub>" is shown<br>
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> — it's in the
same document<br>
</ol>
- <br>
- </td>
- <td>
- <img src="modal-example1.gif" alt="Example 1">
- <br>
</td>
</tr>
<tr>
<td style="text-align:left">
<ol>
<li>Frame "F" is shown<br>
<li>Document-modal dialog "D<sub>i</sub>" is shown<br>
<li>F becomes blocked by D<sub>i</sub> — it's in the same document<br>
--- 376,405 ----
applets and applications launched from Java Web Start.
<a id="Examples"></a>
</p><h2>Examples</h2>
! <table border="0" role="presentation">
<tbody><tr>
+ <td>
+ <img src="modal-example1.gif" alt="Example 1">
+ </td>
<td style="text-align:left" >
<ol>
<li>Frame "F" is shown<br>
<li>Document-modal dialog "D<sub>i</sub>" is shown<br>
<li>F becomes blocked by D<sub>i</sub> — it's in the same document<br>
<li>Document-modal dialog "D<sub>ii</sub>" is shown<br>
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> — it's in the
same document<br>
</ol>
</td>
</tr>
<tr>
+ <td>
+ <img src="modal-example2.gif" alt="Example 2">
+ </td>
<td style="text-align:left">
<ol>
<li>Frame "F" is shown<br>
<li>Document-modal dialog "D<sub>i</sub>" is shown<br>
<li>F becomes blocked by D<sub>i</sub> — it's in the same document<br>
*** 406,423 ****
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> —
it's in the same document<br>
<li>D<sub>i</sub> is hidden<br>
<li>F becomes blocked by D<sub>ii</sub> — it's in the same document<br>
</ol>
- <br>
- </td>
- <td>
- <img src="modal-example2.gif" alt="Example 2">
- <br>
</td>
</tr>
<tr>
<td style="text-align:left">
<ol>
<li>Frame "F" is shown<br>
<li>Toolkit-modal dialog "D<sub>i</sub>" is created, but not shown<br>
<li>Document-modal dialog "D<sub>ii</sub>" is shown<br>
--- 407,422 ----
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> —
it's in the same document<br>
<li>D<sub>i</sub> is hidden<br>
<li>F becomes blocked by D<sub>ii</sub> — it's in the same document<br>
</ol>
</td>
</tr>
<tr>
+ <td>
+ <img src="modal-example3.gif" alt="Example 3">
+ </td>
<td style="text-align:left">
<ol>
<li>Frame "F" is shown<br>
<li>Toolkit-modal dialog "D<sub>i</sub>" is created, but not shown<br>
<li>Document-modal dialog "D<sub>ii</sub>" is shown<br>
*** 428,445 ****
<li>D<sub>i</sub> is shown<br>
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> — it's its owner<br>
<li>D<sub>iii</sub> remains unblocked — it blocks D<sub>ii</sub> and
D<sub>ii</sub> blocks D<sub>i</sub><br>
</ol>
- <br>
- </td>
- <td>
- <img src="modal-example3.gif" alt="Example 3">
- <br>
</td>
</tr>
<tr>
<td style="text-align:left">
<ol>
<li>Frame "F" is shown<br>
<li>Toolkit-modal dialog "D<sub>i</sub>" is created, but not shown<br>
<li>Document-modal dialog "D<sub>ii</sub>" is shown<br>
--- 427,442 ----
<li>D<sub>i</sub> is shown<br>
<li>D<sub>i</sub> becomes blocked by D<sub>ii</sub> — it's its owner<br>
<li>D<sub>iii</sub> remains unblocked — it blocks D<sub>ii</sub> and
D<sub>ii</sub> blocks D<sub>i</sub><br>
</ol>
</td>
</tr>
<tr>
+ <td>
+ <img src="modal-example4.gif" alt="Example 4">
+ </td>
<td style="text-align:left">
<ol>
<li>Frame "F" is shown<br>
<li>Toolkit-modal dialog "D<sub>i</sub>" is created, but not shown<br>
<li>Document-modal dialog "D<sub>ii</sub>" is shown<br>
*** 450,464 ****
<li>D<sub>i</sub> is shown<br>
<li>D<sub>iii</sub> becomes blocked by D<sub>i</sub> — D<sub>i</sub>
is not blocked<br>
<li>D<sub>i</sub> remains unblocked<br>
</ol>
- <br>
- </td>
- <td>
- <img src="modal-example4.gif" alt="Example 4">
- <br>
</td>
</tr>
</tbody></table>
</main>
</body></html>
--- 447,456 ----
< prev index next >