浏览代码

narrateErrorLoadingModel

Trevor Baron 7 年之前
父节点
当前提交
eb32a3200b
共有 1 个文件被更改,包括 15 次插入1 次删除
  1. 15 1
      Viewer/assets/templates/default/error.html

+ 15 - 1
Viewer/assets/templates/default/error.html

@@ -1 +1,15 @@
-Error loading the model
+<style>
+    .narrator-readable-text {
+        border: none;
+        background: none;
+        color: inherit;
+        border: none;
+        padding: 0;
+        font: inherit;
+        cursor: pointer;
+        outline: inherit;
+    }
+</style>
+
+<!-- Accessibility button that a screen narrator will read -->
+<button class="narrator-readable-text">Error loading the model</button>