institucional-brasil/assets/libs/tinymce/tests/manual/accessibility0.html

39 lines
1.1 KiB
HTML
Raw Normal View History

2023-11-27 21:56:41 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>TinyMCE Accessibility Milestone 0</title>
<script src="../js/tinymce/tinymce.dev.js"></script>
</head>
<body>
<p>Milestone 0 requires the editor to be accessible with all toolbar buttons and dialogs disabled.</p>
<form name="edit">
<p><label for="title">Title:</label> <input type="text" id="title" name="title"></p>
<p><label for="main">Main content:</label></p>
<textarea name="main" id="main" style="width: 100%; height: 400px;" aria-label="Main content rich text field">
&lt;p&gt;This is the editor content&lt;/p&gt;
</textarea>
<script>
var milestone0 = {
// General options
mode : "exact",
elements : "main",
plugins : 'tabfocus',
tabfocus_elements: ':prev,:next',
object_resizing: false,
theme_advanced_buttons1 : "",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_buttons4 : "",
theme_advanced_toolbar_align : "left",
theme_advanced_toolbar_location : "top"
};
tinymce.init(milestone0);
</script>
<p><label for="category">Category:</label> <input type="text" id="category" name="category" /></p>
</body>
</html>