Commit 6fa891fd authored by George Tsiolis's avatar George Tsiolis

Add aria-hidden attribute to icon vue component

parent c088057f
...@@ -147,7 +147,6 @@ ...@@ -147,7 +147,6 @@
<icon <icon
v-if="issue.confidential" v-if="issue.confidential"
name="eye-slash" name="eye-slash"
aria-hidden="true"
class="confidential-icon" class="confidential-icon"
/> />
<a <a
......
...@@ -84,7 +84,6 @@ export default { ...@@ -84,7 +84,6 @@ export default {
{{ selectedProjectName }} {{ selectedProjectName }}
<icon <icon
name="angle-down" name="angle-down"
aria-hidden="true"
/> />
</button> </button>
<div class="dropdown-menu dropdown-menu-selectable dropdown-menu-full-width"> <div class="dropdown-menu dropdown-menu-selectable dropdown-menu-full-width">
...@@ -97,7 +96,6 @@ export default { ...@@ -97,7 +96,6 @@ export default {
> >
<icon <icon
name="merge-request-close-m" name="merge-request-close-m"
aria-hidden="true"
data-hidden="true" data-hidden="true"
class="dropdown-menu-close-icon" class="dropdown-menu-close-icon"
/> />
...@@ -112,7 +110,6 @@ export default { ...@@ -112,7 +110,6 @@ export default {
<icon <icon
name="search" name="search"
class="dropdown-input-search" class="dropdown-input-search"
aria-hidden="true"
data-hidden="true" data-hidden="true"
/> />
</div> </div>
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
> >
<icon <icon
name="close" name="close"
aria-hidden="true"
/> />
</button> </button>
<div <div
......
...@@ -62,7 +62,6 @@ export default { ...@@ -62,7 +62,6 @@ export default {
<icon name="play" /> <icon name="play" />
<icon <icon
name="chevron-down" name="chevron-down"
aria-hidden="true"
/> />
<gl-loading-icon v-if="isLoading" /> <gl-loading-icon v-if="isLoading" />
</span> </span>
......
...@@ -533,13 +533,11 @@ export default { ...@@ -533,13 +533,11 @@ export default {
<icon <icon
:name="folderIconName" :name="folderIconName"
class="folder-icon" class="folder-icon"
aria-hidden="true"
/> />
<icon <icon
name="folder" name="folder"
class="folder-icon" class="folder-icon"
aria-hidden="true"
/> />
<span> <span>
......
...@@ -53,7 +53,6 @@ export default { ...@@ -53,7 +53,6 @@ export default {
v-if="!searchQuery" v-if="!searchQuery"
name="search" name="search"
class="search-icon" class="search-icon"
aria-hidden="true"
/> />
</div> </div>
</template> </template>
...@@ -105,6 +105,7 @@ export default { ...@@ -105,6 +105,7 @@ export default {
:x="x" :x="x"
:y="y" :y="y"
:tabindex="tabIndex" :tabindex="tabIndex"
aria-hidden="true"
> >
<use v-bind="{ 'xlink:href':spriteHref }"/> <use v-bind="{ 'xlink:href':spriteHref }"/>
</svg> </svg>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment