Add html tags required for accessibility (#10989)

# Objective

- Make example comply with accessibility standards.

## Solution

- Add missing tags.
This commit is contained in:
Tygyh 2023-12-16 04:09:36 +01:00 committed by GitHub
parent 696af48416
commit 746361bdfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
<html> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<style> <style>
@ -11,14 +11,14 @@
black 51%, black 51%,
white 51%, white 51%,
white 100% white 100%
); ) repeat;
background-repeat: repeat;
background-size: 20px 20px; background-size: 20px 20px;
} }
canvas { canvas {
background-color: white; background-color: white;
} }
</style> </style>
<title>WASM Example</title>
</head> </head>
<script type="module"> <script type="module">
import init from './target/wasm_example.js' import init from './target/wasm_example.js'