src/java.desktop/share/classes/java/awt/doc-files/Modality.html
changeset 50358 1ba28f0dbc33
parent 48264 efda6932a433
child 52831 4e9739110cf1
--- a/src/java.desktop/share/classes/java/awt/doc-files/Modality.html	Thu May 31 09:24:27 2018 -0700
+++ b/src/java.desktop/share/classes/java/awt/doc-files/Modality.html	Thu May 31 09:52:32 2018 -0700
@@ -5,7 +5,7 @@
   <title>The AWT Modality</title>
 </head>
 <!--
- Copyright (c) 2005, 2017, Oracle and/or its affiliates. All rights reserved.
+ 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
@@ -30,7 +30,7 @@
 -->
 
 <body>
-
+<main role="main">
     <h1>The AWT Modality</h1>
 
     <p>
@@ -50,7 +50,7 @@
     </ul>
 
     <a id="Definitions"></a>
-    <h3>Definitions</h3>
+    <h2>Definitions</h2>
 
     <p>
       <u>Document</u> - a window without an owner that, together with
@@ -92,7 +92,7 @@
       <hr></blockquote>
 
     <a id="ModalityTypes"></a>
-    <h3>Modality types</h3>
+    <h2>Modality types</h2>
 
     <p>
       There are four supported modality types :
@@ -156,7 +156,7 @@
       <hr></blockquote>
 
     <a id="ShowHideBlocking"></a>
-    <h3>Show/hide blocking</h3>
+    <h2>Show/hide blocking</h2>
 
     <p>
       <u>Showing the window or modeless dialog: "F"</u><br>
@@ -261,7 +261,7 @@
       are performed for each of them in the order they were initially shown.
 
     <a id="ModalExclusion"></a>
-    </p><h3>Modal exclusion</h3>
+    </p><h2>Modal exclusion</h2>
 
     <p>
       There are two modal exclusion types introduced as of JDK 6
@@ -287,7 +287,7 @@
     </blockquote>
 
     <a id="Related"></a>
-    <h3>Related AWT features</h3>
+    <h2>Related AWT features</h2>
 
     <p>
       <u>Always-On-Top</u><br>
@@ -331,7 +331,7 @@
       unchanged.
 
     <a id="Security"></a>
-    <h3>Security</h3>
+    <h2>Security</h2>
 
     <p>
       A special <code>AWTPermission</code>, <code>"toolkitModality"</code>,
@@ -344,7 +344,7 @@
       blocked by a browser's or JWS's modal dialog.
 
     <a id="PlatformSupport"></a>
-    </p><h3>Platform support</h3>
+    </p><h2>Platform support</h2>
 
     <p>
       Two <code>java.awt.Toolkit</code> methods allow you to check whether
@@ -363,7 +363,7 @@
       </li></ul>
 
     <a id="Compatibility"></a>
-    <h3>Compatibility</h3>
+    <h2>Compatibility</h2>
 
     <p>
       The default modality type is application-modal. It is used by the API
@@ -374,7 +374,7 @@
       applets and applications launched from Java Web Start.
 
     <a id="Examples"></a>
-    </p><h3>Examples</h3>
+    </p><h2>Examples</h2>
 
     <table border="0">
       <tbody><tr>
@@ -458,5 +458,5 @@
         </td>
       </tr>
     </tbody></table>
-
+</main>
 </body></html>