浏览代码

读屏内容:纯文本不要开头的Text。

任一存 3 年之前
父节点
当前提交
990c05a7cb
共有 4 个文件被更改,包括 7 次插入6 次删除
  1. 2 1
      web/src/utils.js
  2. 2 2
      web/src/views/About/link.vue
  3. 1 1
      web/src/views/Visit/Visit7.vue
  4. 2 2
      web/src/views/bottom/Index.vue

+ 2 - 1
web/src/utils.js

@@ -17,7 +17,8 @@ function mapTags(tag) {
     ret = 'Textbox'
     break
   default:
-    ret = 'Text'
+    ret = ''
+    // ret = 'Text'
     break
   }
   return ret

+ 2 - 2
web/src/views/About/link.vue

@@ -37,7 +37,7 @@
       <div
         class="lmname"
         tabindex="0"
-        aria-label="Text"
+        aria-label=""
         aria-description="Partners & Connections"
       ></div>
       <div class="wrap" :class="{wrap2:item.bac}" v-for="(item,index) in data" :key="index" tabindex="-1">
@@ -64,7 +64,7 @@
     >
       <img src="/data/About/botTxt.gif" alt=""
         tabindex="0"
-        aria-label="Text"
+        aria-label=""
         aria-description="Join US Telephone +86(10)63393339 E-mail ICD@capitalmuseum.org.cn"
       >
     </div>

+ 1 - 1
web/src/views/Visit/Visit7.vue

@@ -4,7 +4,7 @@
 >
   <div class="conten">
     <div class="top" tabindex="0"
-      aria-label="Text" aria-description="Visitor Guidelines"
+      aria-label="" aria-description="Visitor Guidelines"
     >
       <img src="../../assets/images/Visit/last1.jpg" alt="">
     </div>

+ 2 - 2
web/src/views/bottom/Index.vue

@@ -10,7 +10,7 @@
       src="/data/Index/1.jpg"
       alt=""
       tabindex="0"
-      aria-label="Text"
+      aria-label=""
       aria-description="Site Index"
     />
     <div class="home" title="Home" tabindex="-1">
@@ -20,7 +20,7 @@
         @click="skip('/')"
         @keydown.enter.passive="skip('/')"
         tabindex="0"
-        aria-label="Text"
+        aria-label=""
         aria-description="Home"
       />
     </div>