瀏覽代碼

删除所有的tabindex=-1属性

任一存 3 年之前
父節點
當前提交
2af7083ac4

File diff suppressed because it is too large
+ 2 - 2
web/README.md


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

@@ -35,7 +35,7 @@
       aria-label aria-description="You've reached the content area of the From the Director page, please use the tab key to navigate through the content."
     >
       <h1 class="webTitle" tabindex="0">From the Director</h1>
-      <div class="peopleBox" tabindex="-1">
+      <div class="peopleBox" >
         <h2 tabindex="0">——<span>Leadership</span>——</h2>
         <ul>
           <li>
@@ -47,7 +47,7 @@
           </li>
         </ul>
       </div>
-      <div class="contentBox" tabindex="-1">
+      <div class="contentBox" >
         <p tabindex="0">
           The Capital Museum of China is a comprehensive museum affiliated with
           the municipal government of Beijing. It is committed to displaying

+ 4 - 4
web/src/views/About/index.vue

@@ -37,7 +37,7 @@
     <div class="director" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the From the Director section, please use the tab key to navigate through the content."
     >
-      <div tabindex="-1">
+      <div >
         <p tabindex="0">Welcome to the website of the Capital Museum of China.</p>
         <p tabindex="0">
           We are looking forward to your visit. The Capital Museum is a palace
@@ -70,7 +70,7 @@
     <div class="history" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the History section, please use the tab key to go through the content."
     >
-      <div tabindex="-1">
+      <div >
         <p tabindex="0">
           <span
             style="font-family: arial, helvetica, sans-serif; font-size: 14px"
@@ -112,7 +112,7 @@
     <div class="partner" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the Patrners & Connections section, please use the tab key to go through the information."
     >
-      <ul tabindex="-1">
+      <ul >
         <li v-for="(item, index) in link" :key="index">
           <a :href="item.name" target="_blank" :title="item.pop"
             tabindex="0"
@@ -149,7 +149,7 @@
         Telephone reservation (group visitors): <span tabindex="0">+86 (10) 63370458</span>
       </p>
       <p tabindex="0">Inquiry Hotline: <span tabindex="0">+86 (10) 63370491</span></p>
-      <p tabindex="-1">
+      <p >
         <a href="mailto:ICD@capitalmuseum.org.cn"
           tabindex="0"
           aria-description="Email Us"

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

@@ -40,7 +40,7 @@
         aria-label=""
         aria-description="Partners & Connections"
       ></div>
-      <div class="wrap" :class="{wrap2:item.bac}" v-for="(item,index) in data" :key="index" tabindex="-1">
+      <div class="wrap" :class="{wrap2:item.bac}" v-for="(item,index) in data" :key="index" >
         <div class="box">
           <h2 :title="item.title" tabindex="0">{{item.title}}</h2>
           <div class="row" v-for="val in item.son" :key="val.img" :title="val.pop">

+ 4 - 4
web/src/views/Events/info.vue

@@ -38,7 +38,7 @@
           tabindex="0"
           aria-label="You've reached the content area of the Events sub-page, please use the tab key to go through the content."
         >
-          <div class="title" tabindex="-1">
+          <div class="title" >
             <div class="left">
               <h3 v-html="info.h3" tabindex="0"></h3>
               <div class="txt">
@@ -59,15 +59,15 @@
               <p tabindex="0">{{ info.i }}</p>
             </div>
           </div>
-          <div class="txtMain" v-html="info.main" v-if="info.main" tabindex="-1"></div>
+          <div class="txtMain" v-html="info.main" v-if="info.main" ></div>
           <div
             class="txtMain"
             v-if="info.mainArr"
             v-html="info.mainArr[mainArr]"
-            tabindex="-1"
+            
           ></div>
           <!-- 分页 -->
-          <div class="page" v-if="info.mainArr" tabindex="-1">
+          <div class="page" v-if="info.mainArr" >
             <span
               @click="pageCut(i-1)"
               @keydown.enter.passive="pageCut(i-1)"

+ 8 - 8
web/src/views/Exhibitions/info.vue

@@ -41,7 +41,7 @@
     <div class="pos" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the path area; this area has three URLs; please use the tab key to go through the content."
     >
-      <div tabindex="-1">
+      <div >
         <span class="pos1" tabindex="0">Your Position:&nbsp;</span>
         <Router-link to="/Layout/Home"
           replace
@@ -75,7 +75,7 @@
           aria-label aria-description="You've reached the section of exhibition title, please use the tab key to navigate through the content."
         >
           <div class="title_2" tabindex="0">{{ data.title }}</div>
-          <div class="info" tabindex="-1">
+          <div class="info" >
             <span class="info_1" tabindex="0">{{ data.date }}</span>
             <span class="info_2" tabindex="0">{{ data.time }}</span>
             <span class="info_3" tabindex="0">{{ data.loc }}</span>
@@ -89,13 +89,13 @@
             v-show="index === pageInd"
             v-for="(item, index) in data.page"
             :key="index"
-            tabindex="-1"
+            
           >
             <p class="one" v-html="item.tit" tabindex="0"></p>
             <div class="fuTxt" v-html="item.article" tabindex="0"></div>
           </div>
           <!-- 分页 -->
-          <div class="paging" tabindex="-1">
+          <div class="paging" >
             <span v-show="pageInd !== 0"
               @click="pageCut(pageInd - 1)"
               @keydown.enter.passive="pageCut(pageInd - 1)"
@@ -133,7 +133,7 @@
       >
         <div class="title_3" tabindex="0">——<span>Exhibition Objects</span>——</div>
         <!-- 图片 -->
-        <div class="row" :class="{ show: showObjects }" tabindex="-1">
+        <div class="row" :class="{ show: showObjects }" >
           <div class="rowOne" :title="i" v-for="i in data.objects" :key="i"
             tabindex="0" aria-label="" aria-description=""
           >
@@ -163,7 +163,7 @@
             </div>
           </div>
         </div>
-        <div class="more" tabindex="-1">
+        <div class="more" >
           <span
             @click="showObjects = !showObjects"
             @keydown.enter.passive="showObjects = !showObjects"
@@ -185,7 +185,7 @@
       >
         <div class="title_3" tabindex="0">——<span>Exhibition Galleries</span>——</div>
         <!-- 图片 -->
-        <div class="box" :class="{ show: showGalleries }" tabindex="-1">
+        <div class="box" :class="{ show: showGalleries }" >
           <img
             :title="i"
             :src="`/data/Exhibitions/${dataUrl}/galleries${data.topImg}/galleries${i}${data.imgLast}`"
@@ -196,7 +196,7 @@
             aria-description=""
           />
         </div>
-        <div class="more" v-show="data.galleries>3" tabindex="-1">
+        <div class="more" v-show="data.galleries>3" >
           <span
             @click="showGalleries = !showGalleries"
             @keydown.enter.passive="showGalleries = !showGalleries"

+ 1 - 1
web/src/views/JoinSupport/index.vue

@@ -17,7 +17,7 @@
     <div class="nav_2" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the secondary menu of the Join & Support section; this menu has two options; please use the tab key to go through the menu."
     >
-      <ul tabindex="-1">
+      <ul >
         <li
           :class="{ cur: $route.meta.nameAll === item.url }"
           v-for="(item, index) in topLi"

+ 4 - 4
web/src/views/LearnEngage/info.vue

@@ -17,7 +17,7 @@
     <div class="pos" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the path area; this area has three URLs; please use the tab key to go through the content."
     >
-      <div tabindex="-1">
+      <div >
         <span class="pos1" tabindex="0">Your Position:&nbsp;</span>
         <Router-link to="/Layout/Home"
           replace
@@ -47,12 +47,12 @@
       aria-label aria-description="You've reached the content area of the tertiary Learn & Engage page, please use the tab key to navigate through the content."
     >
       <div class="title" tabindex="0">{{ dataObj.title }}</div>
-      <div class="info" tabindex="-1">
+      <div class="info" >
         <span class="info1" tabindex="0">{{ dataObj.time }}</span>
         <span class="info2" tabindex="0">{{ dataObj.loc }}</span>
         <span class="info3" tabindex="0">{{ dataObj.ren }}</span>
       </div>
-      <div class="main" tabindex="-1">
+      <div class="main" >
         <p v-html="dataObj.top" v-if="dataObj.top"
           tabindex="0"
           :aria-description="dataObj.top.replace(/(<([^>]+)>)/ig, '')"
@@ -68,7 +68,7 @@
           :aria-description="dataObj.txt.replace(/(<([^>]+)>)/ig, '')"
         ></div>
       </div>
-      <div class="main bottom" tabindex="-1">
+      <div class="main bottom" >
         <div class="top" tabindex="0">{{ dataObj.tipTime }}</div>
         <div class="m2">
           <img src="/data/LearnEngage/m-27.jpg" alt="tip" 

+ 4 - 4
web/src/views/Publications/Publications1.vue

@@ -4,12 +4,12 @@
     <div class="magzines-wrapper" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the content area of the Magazines page, please use the tab key to go through the content."
     >
-      <div class="title" tabindex="-1">
+      <div class="title" >
         <img src="../../assets/images/Visit/pLeft.jpg" alt="" />
         <span tabindex="0">{{ $route.meta.nameAll }}</span>
         <div class="xian"></div>
       </div>
-      <div class="conten" tabindex="-1">
+      <div class="conten" >
         <!-- 左侧 -->
         <div class="menu">
           <p
@@ -33,7 +33,7 @@
     >
       <div class="title_2" tabindex="0">Our Magazines</div>
       <!-- 下面书籍 -->
-      <div class="tabTimeBox" tabindex="-1">
+      <div class="tabTimeBox" >
         <span
           @mouseenter="dateInd = i"
           @focus="dateInd = i"
@@ -46,7 +46,7 @@
           {{ i }}
         </span>
       </div>
-      <ul class="imgList" tabindex="-1">
+      <ul class="imgList" >
         <li v-for="item in imgList" :key="item.id"
           @click="jump(item.id)"
           @keydown.enter.passive="jump(item.id)"

+ 2 - 2
web/src/views/Publications/Publications2.vue

@@ -3,12 +3,12 @@
   <div class="Publications2" data-aria-viewport-area tabindex="0"
     aria-label aria-description="You've reached the content area of the Exhibition Catalogues page, please use the tab key to go through the content."
   >
-    <div class="title" tabindex="-1">
+    <div class="title" >
       <img src="../../assets/images/Visit/pLeft.jpg" alt="" />
       <span tabindex="0">{{ $route.meta.nameAll }}</span>
       <div class="xian"></div>
     </div>
-    <div class="conten" tabindex="-1">
+    <div class="conten" >
       <img src="/data/Publications/heng.png" alt="" />
       <ul>
         <li v-for="(item, index) in list" :key="index">

+ 1 - 1
web/src/views/Publications/index.vue

@@ -11,7 +11,7 @@
     <div class="nav_2" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the secondary menu of the Publications section; this menu has three options; please use the tab key to go through the menu."
     >
-      <ul tabindex="-1">
+      <ul >
         <li
           :class="{ cur: $route.meta.nameAll === item.name }"
           v-for="(item, index) in topLi"

+ 2 - 2
web/src/views/Search/index.vue

@@ -50,7 +50,7 @@
     <div class="searchMenu" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the content area of the Search results page, please use the tab key to navigate through the content."
     >
-      <div v-for="item in tabData" :key="item.id" tabindex="-1">
+      <div v-for="item in tabData" :key="item.id" >
         <span
           :class="{ active: cut === item.cut }"
           class="txt"
@@ -79,7 +79,7 @@
     <div class="comm" data-aria-viewport-area tabindex="0"
       aria-label :aria-description="`You've reached the content area of ${cut} list, please use the tab key to navigate through the content.`"
     >
-      <component ref="comSon" :is="cut" :txt='txt' :num.sync='num' tabindex="-1"></component>
+      <component ref="comSon" :is="cut" :txt='txt' :num.sync='num' ></component>
     </div>
   </div>
 </template>

+ 2 - 2
web/src/views/Visit/Visit2.vue

@@ -15,7 +15,7 @@
         Museum's WeChat account for reservation.<span>X</span>
       </div>
     </div> -->
-    <div class="mm1" tabindex="-1">
+    <div class="mm1" >
       <div class="mm1l">
         <p>
           <img src="../../assets/images/Visit/pLeft.jpg" alt="" />
@@ -37,7 +37,7 @@
         <!-- <h2 tabindex="0">Online Reservation</h2> -->
       </div>
     </div>
-    <div class="sidebar" tabindex="-1">
+    <div class="sidebar" >
       <ul>
         <!-- 第一个内容 -->
         <li class="title">

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

@@ -13,7 +13,7 @@
     <div class="pos" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the path area; this area has one link; please use the tab key to go through the content."
     >
-      <div tabindex="-1">
+      <div >
         <span class="pos1" tabindex="0">Your Position:&nbsp;</span>
         <Router-link to="/Layout/Home" replace tabindex="0"
           aria-description="Home"
@@ -26,7 +26,7 @@
       aria-label aria-description="You've reached the content area of the Employment page, please use the tab key to navigate through the content."
     >
       <!-- Exhibition Overview -->
-      <div class="y_box" tabindex="-1">
+      <div class="y_box" >
         <div class="title_2" tabindex="0">
           2017 Second-Half Public Recruitment Notice of the Capital Museum
         </div>

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

@@ -13,7 +13,7 @@
       aria-label=""
       aria-description="Site Index"
     />
-    <div class="home" title="Home" tabindex="-1">
+    <div class="home" title="Home" >
       <img
         src="/data/Index/home.jpg"
         alt=""
@@ -24,7 +24,7 @@
         aria-description="Home"
       />
     </div>
-    <div class="main" tabindex="-1">
+    <div class="main" >
       <img src="/data/Index/main.jpg" alt="" />
       <!-- 定位的盒子 -->
       <div class="loc">

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

@@ -12,7 +12,7 @@
     <div class="pos" data-aria-viewport-area tabindex="0"
       aria-label aria-description="You've reached the path area; this area has one link; please use the tab key to go through the content."
     >
-      <div tabindex="-1">
+      <div >
         <span class="pos1" tabindex="0">Your Position:&nbsp;</span>
         <Router-link to="/Layout/Home"
           replace
@@ -26,7 +26,7 @@
       aria-label aria-description="You've reached the content area of the Terms of Use page, please use the tab key to navigate through the content."
     >
       <!-- Exhibition Overview -->
-      <div class="y_box" tabindex="-1">
+      <div class="y_box" >
         <div class="title_2" tabindex="0">Terms of Use</div>
         <div class="info">
           <span class="info_1" tabindex="0">2018</span>

+ 2 - 2
web/src/views/layout/index.vue

@@ -94,7 +94,7 @@
         class="footer" data-aria-viewport-area tabindex="0"
         aria-label aria-description="You've reached footer section at the bottom of the website. This section contains five URLs. To browse the content, please use the tab key."
       >
-        <div tabindex="-1">
+        <div >
           <template v-for="item in footerData">
             |
             <router-link
@@ -118,7 +118,7 @@
         class="rightNav" data-aria-viewport-area tabindex="0"
         aria-label aria-description="You've reached the pop-up window section, which has one URL and one image. Please use the tab key to go through the information."
       >
-        <ul class="rightIco" tabindex="-1">
+        <ul class="rightIco" >
           <li title="game">
             <a
               href=""