Difference between revisions of "Modal dialog with ARIA"

From Level Access Web Labs
Jump to navigation Jump to search
Line 4: Line 4:
 
   <style type="text/css">
 
   <style type="text/css">
 
     .sr-only {
 
     .sr-only {
position: absolute;
+
      position: absolute;
clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
+
      clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
clip: rect(1px, 1px, 1px, 1px);
+
      clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
+
      clip-path: inset(50%);
padding: 0;
+
      padding: 0;
border: 0;
+
      border: 0;
height: 1px;  
+
      height: 1px;  
width: 1px;  
+
      width: 1px;  
overflow: hidden;
+
      overflow: hidden;
white-space: nowrap;
+
      white-space: nowrap;
 
     }
 
     }
  

Revision as of 19:20, 17 November 2016

Example


...

...