Difference between revisions of "Canvas fallback"

From Level Access Web Labs
Jump to navigation Jump to search
(Created page with "<html> <canvas role="graphics-document"> <p id="scene-desc" role="img" aria-label="The Dungeon" aria-describedby="scene-desc"> The door opens into a...")
 
Line 1: Line 1:
 
<html>
 
<html>
 +
<canvas>
 +
    <p id="scene-desc" role="img"
 +
      aria-label="The Dungeon"
 +
      aria-describedby="scene-desc">
 +
      The door opens into a long hallway.
 +
      Every few steps on either side are barred doors.
 +
      Moisture drips from the stone walls.
 +
    </p>
 +
    <p id="grue-1" role="img"
 +
      aria-label="Grue"
 +
      aria-describedby="grue-1">
 +
      An amorphous and poorly defined, but unmistakably sinister,
 +
      creature blocks the passage.
 +
  </p>
 +
  <!-- more DOM elements representing game controls -->
 +
</canvas>
 +
 
<canvas role="graphics-document">
 
<canvas role="graphics-document">
 
     <p id="scene-desc" role="img"  
 
     <p id="scene-desc" role="img"  
Line 16: Line 33:
 
   <!-- more DOM elements representing game controls -->
 
   <!-- more DOM elements representing game controls -->
 
</canvas>
 
</canvas>
 +
 
</html>
 
</html>

Revision as of 14:58, 2 October 2018