Browse Source

Merge pull request #5169 from TrevorDev/narrateErrorLoadingModel

narrateErrorLoadingModel
David Catuhe 7 năm trước cách đây
mục cha
commit
42c603fc63
1 tập tin đã thay đổi với 15 bổ sung1 xóa
  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>