Difference between revisions of "Canvas Element"

From Level Access Web Labs
Jump to navigation Jump to search
 
Line 39: Line 39:
  
 
==Test results for canvus-==
 
==Test results for canvus-==
All screen readers and browsers tested announced the text that is in the paragraph inside of the canvas unless the accessible name is set by the author by the aria-label, aria-labelledby, or title attribute.
+
All screen readers and browsers tested announced the text that is in the paragraph inside of the canvas unless the accessible name is set by the author by the aria-label, aria-labelledby, or title attribute or unless there is a role img of img in which case the fallback text is not announced.
 
[[Category:HTML5]]
 
[[Category:HTML5]]
 
[[Category:Elements]]
 
[[Category:Elements]]

Latest revision as of 16:53, 22 November 2021

Canvas with fallback and no author supplied accessible name and no explicit role.

There is more fallback text.

Canvas with fallback and an author supplied accessible name via aria-label.

This is fallback text

Canvas with fallback and a role of img.

There is a green box on the screen.

--

Test results for canvus-

All screen readers and browsers tested announced the text that is in the paragraph inside of the canvas unless the accessible name is set by the author by the aria-label, aria-labelledby, or title attribute or unless there is a role img of img in which case the fallback text is not announced.