Difference between revisions of "Canvas Element"

From Level Access Web Labs
Jump to navigation Jump to search
Line 1: Line 1:
 
<html>
 
<html>
--
 
<canvas id="myCanvas">
 
<p>There is a green box on the screen.</p>
 
</canvas>
 
--
 
  
 
<canvas id="myCanvas2">
 
<canvas id="myCanvas2">
 +
<p>There is more fallback text.</p>
 
</canvas>
 
</canvas>
  
Line 12: Line 8:
 
<p> this is fallback text </p>
 
<p> this is fallback text </p>
 
</canvas>
 
</canvas>
 +
 +
--
 +
<canvas role="img" id="myCanvas">
 +
<p>There is a green box on the screen.</p>
 +
</canvas>
 +
--
  
 
<script>
 
<script>

Revision as of 03:24, 9 November 2021

There is more fallback text.

this is fallback text

--

There is a green box on the screen.

--

Test results for canvus-

All screen readers and browsers tested announced that there is a green box on the screen. this is the text that is in the paragraph inside of the canvus.