Commit 7f4983ca authored by Coung Ngo's avatar Coung Ngo

Remove GlIcon aria-hidden code

GlIcon now automatically adds `aria-hidden` when there is no
aria-label, so we can remove code where aria-hidden is applied
to GlIcon.

GlIcon MR: https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/1860
parent c6e7be4d
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
<div v-show="hasError" class="btn-group"> <div v-show="hasError" class="btn-group">
<div class="btn btn-default btn-sm disabled"> <div class="btn btn-default btn-sm disabled">
<gl-icon :size="16" class="gl-ml-3 gl-mr-3" name="doc-image" aria-hidden="true" /> <gl-icon :size="16" class="gl-ml-3 gl-mr-3" name="doc-image" />
</div> </div>
<div class="btn btn-default btn-sm disabled"> <div class="btn btn-default btn-sm disabled">
<span class="gl-ml-3 gl-mr-3">{{ s__('Badges|No badge image') }}</span> <span class="gl-ml-3 gl-mr-3">{{ s__('Badges|No badge image') }}</span>
......
...@@ -179,13 +179,13 @@ export default { ...@@ -179,13 +179,13 @@ export default {
'https://console.cloud.google.com/freetrial?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral' 'https://console.cloud.google.com/freetrial?utm_campaign=2018_cpanel&utm_source=gitlab&utm_medium=referral'
" "
target="_blank" target="_blank"
>{{ content }} <gl-icon name="external-link" aria-hidden="true" >{{ content }} <gl-icon name="external-link"
/></gl-link> /></gl-link>
</template> </template>
<template #docsLink="{ content }"> <template #docsLink="{ content }">
<gl-link :href="docsUrl" target="_blank" <gl-link :href="docsUrl" target="_blank"
>{{ content }} <gl-icon name="external-link" aria-hidden="true" >{{ content }} <gl-icon name="external-link"
/></gl-link> /></gl-link>
</template> </template>
......
...@@ -27,7 +27,6 @@ export default { ...@@ -27,7 +27,6 @@ export default {
), ),
}" }"
name="warning" name="warning"
aria-hidden="true"
/> />
{{ n__('Showing %d event', 'Showing %d events', 50) }} {{ n__('Showing %d event', 'Showing %d events', 50) }}
</span> </span>
......
...@@ -226,11 +226,11 @@ export default { ...@@ -226,11 +226,11 @@ export default {
class="gl-mx-2 gl-cursor-pointer js-unfold-down gl-display-inline-block gl-py-4" class="gl-mx-2 gl-cursor-pointer js-unfold-down gl-display-inline-block gl-py-4"
@click="handleExpandLines(EXPAND_DOWN)" @click="handleExpandLines(EXPAND_DOWN)"
> >
<gl-icon :size="12" name="expand-down" aria-hidden="true" /> <gl-icon :size="12" name="expand-down" />
<span>{{ $options.i18n.showMore }}</span> <span>{{ $options.i18n.showMore }}</span>
</a> </a>
<a class="gl-mx-2 cursor-pointer js-unfold-all" @click="handleExpandLines()"> <a class="gl-mx-2 cursor-pointer js-unfold-all" @click="handleExpandLines()">
<gl-icon :size="12" name="expand" aria-hidden="true" /> <gl-icon :size="12" name="expand" />
<span>{{ $options.i18n.showAll }}</span> <span>{{ $options.i18n.showAll }}</span>
</a> </a>
<a <a
...@@ -238,7 +238,7 @@ export default { ...@@ -238,7 +238,7 @@ export default {
class="gl-mx-2 gl-cursor-pointer js-unfold gl-display-inline-block gl-py-4" class="gl-mx-2 gl-cursor-pointer js-unfold gl-display-inline-block gl-py-4"
@click="handleExpandLines(EXPAND_UP)" @click="handleExpandLines(EXPAND_UP)"
> >
<gl-icon :size="12" name="expand-up" aria-hidden="true" /> <gl-icon :size="12" name="expand-up" />
<span>{{ $options.i18n.showMore }}</span> <span>{{ $options.i18n.showMore }}</span>
</a> </a>
</div> </div>
......
...@@ -221,7 +221,6 @@ export default { ...@@ -221,7 +221,6 @@ export default {
ref="collapseIcon" ref="collapseIcon"
:name="collapseIcon" :name="collapseIcon"
:size="16" :size="16"
aria-hidden="true"
class="diff-toggle-caret gl-mr-2" class="diff-toggle-caret gl-mr-2"
@click.stop="handleToggleFile" @click.stop="handleToggleFile"
/> />
......
...@@ -80,7 +80,7 @@ export default { ...@@ -80,7 +80,7 @@ export default {
<div ref="header" class="file-title file-title-flex-parent"> <div ref="header" class="file-title file-title-flex-parent">
<div class="file-header-content d-flex align-content-center"> <div class="file-header-content d-flex align-content-center">
<div v-if="hasCode" class="d-inline-block cursor-pointer" @click="toggle()"> <div v-if="hasCode" class="d-inline-block cursor-pointer" @click="toggle()">
<gl-icon :name="collapseIcon" :size="16" aria-hidden="true" class="gl-mr-2" /> <gl-icon :name="collapseIcon" :size="16" class="gl-mr-2" />
</div> </div>
<file-icon :file-name="filePath" :size="18" aria-hidden="true" css-classes="gl-mr-2" /> <file-icon :file-name="filePath" :size="18" aria-hidden="true" css-classes="gl-mr-2" />
<strong <strong
......
...@@ -49,7 +49,7 @@ export default { ...@@ -49,7 +49,7 @@ export default {
/> />
<li v-if="hasMoreChildren" class="group-row"> <li v-if="hasMoreChildren" class="group-row">
<a :href="parentGroup.relativePath" class="group-row-contents has-more-items py-2"> <a :href="parentGroup.relativePath" class="group-row-contents has-more-items py-2">
<gl-icon name="external-link" aria-hidden="true" /> {{ moreChildrenStats }} <gl-icon name="external-link" /> {{ moreChildrenStats }}
</a> </a>
</li> </li>
</ul> </ul>
......
...@@ -86,7 +86,7 @@ export default { ...@@ -86,7 +86,7 @@ export default {
type="search" type="search"
class="dropdown-input-field qa-dropdown-filter-input" class="dropdown-input-field qa-dropdown-filter-input"
/> />
<gl-icon name="search" class="dropdown-input-search" aria-hidden="true" /> <gl-icon name="search" class="dropdown-input-search" />
</div> </div>
<div class="dropdown-content"> <div class="dropdown-content">
<gl-loading-icon v-if="showLoading" size="lg" /> <gl-loading-icon v-if="showLoading" size="lg" />
......
...@@ -92,7 +92,7 @@ export default { ...@@ -92,7 +92,7 @@ export default {
class="controllers-buttons" class="controllers-buttons"
target="_blank" target="_blank"
> >
<gl-icon name="doc-text" aria-hidden="true" /> <gl-icon name="doc-text" />
</a> </a>
<scroll-button :disabled="isScrolledToTop" direction="up" @click="scrollUp" /> <scroll-button :disabled="isScrolledToTop" direction="up" @click="scrollUp" />
<scroll-button :disabled="isScrolledToBottom" direction="down" @click="scrollDown" /> <scroll-button :disabled="isScrolledToBottom" direction="down" @click="scrollDown" />
......
...@@ -61,11 +61,7 @@ export default { ...@@ -61,11 +61,7 @@ export default {
data-toggle="dropdown" data-toggle="dropdown"
> >
<span class="dropdown-toggle-text">{{ __('Choose a template') }}</span> <span class="dropdown-toggle-text">{{ __('Choose a template') }}</span>
<gl-icon <gl-icon name="chevron-down" class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500" />
name="chevron-down"
class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500"
aria-hidden="true"
/>
</button> </button>
<div class="dropdown-menu dropdown-select"> <div class="dropdown-menu dropdown-select">
<div class="dropdown-title gl-display-flex gl-justify-content-center"> <div class="dropdown-title gl-display-flex gl-justify-content-center">
...@@ -75,7 +71,7 @@ export default { ...@@ -75,7 +71,7 @@ export default {
:aria-label="__('Close')" :aria-label="__('Close')"
type="button" type="button"
> >
<gl-icon name="close" class="dropdown-menu-close-icon" :aria-hidden="true" /> <gl-icon name="close" class="dropdown-menu-close-icon" />
</button> </button>
</div> </div>
<div class="dropdown-input"> <div class="dropdown-input">
...@@ -85,7 +81,7 @@ export default { ...@@ -85,7 +81,7 @@ export default {
:placeholder="__('Filter')" :placeholder="__('Filter')"
autocomplete="off" autocomplete="off"
/> />
<gl-icon name="search" class="dropdown-input-search" aria-hidden="true" /> <gl-icon name="search" class="dropdown-input-search" />
<gl-icon <gl-icon
name="close" name="close"
class="dropdown-input-clear js-dropdown-input-clear" class="dropdown-input-clear js-dropdown-input-clear"
......
...@@ -242,7 +242,7 @@ export default { ...@@ -242,7 +242,7 @@ export default {
right right
> >
<template #button-content> <template #button-content>
<gl-icon name="ellipsis_v" aria-hidden="true" /> <gl-icon name="ellipsis_v" />
<span class="gl-sr-only">{{ dropdownText }}</span> <span class="gl-sr-only">{{ dropdownText }}</span>
</template> </template>
......
...@@ -142,7 +142,7 @@ export default { ...@@ -142,7 +142,7 @@ export default {
type="button" type="button"
@click="handleToggle" @click="handleToggle"
> >
<gl-icon ref="chevronIcon" :name="toggleChevronIconName" aria-hidden="true" /> <gl-icon ref="chevronIcon" :name="toggleChevronIconName" />
{{ __('Toggle thread') }} {{ __('Toggle thread') }}
</button> </button>
</div> </div>
......
...@@ -94,11 +94,7 @@ export default { ...@@ -94,11 +94,7 @@ export default {
{{ optionName }} {{ optionName }}
</option> </option>
</select> </select>
<gl-icon <gl-icon name="chevron-down" class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500" />
name="chevron-down"
aria-hidden="true"
class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500"
/>
</div> </div>
</div> </div>
</template> </template>
...@@ -341,7 +341,6 @@ export default { ...@@ -341,7 +341,6 @@ export default {
</select> </select>
<gl-icon <gl-icon
name="chevron-down" name="chevron-down"
aria-hidden="true"
data-hidden="true" data-hidden="true"
class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500" class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500"
/> />
...@@ -573,7 +572,6 @@ export default { ...@@ -573,7 +572,6 @@ export default {
</select> </select>
<gl-icon <gl-icon
name="chevron-down" name="chevron-down"
aria-hidden="true"
data-hidden="true" data-hidden="true"
class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500" class="gl-absolute gl-top-3 gl-right-3 gl-text-gray-500"
/> />
......
...@@ -53,12 +53,12 @@ export default { ...@@ -53,12 +53,12 @@ export default {
<div class="table-mobile-header" role="rowheader">{{ s__('Pipeline|Duration') }}</div> <div class="table-mobile-header" role="rowheader">{{ s__('Pipeline|Duration') }}</div>
<div class="table-mobile-content"> <div class="table-mobile-content">
<p v-if="hasDuration" class="duration"> <p v-if="hasDuration" class="duration">
<gl-icon name="timer" class="gl-vertical-align-baseline!" aria-hidden="true" /> <gl-icon name="timer" class="gl-vertical-align-baseline!" />
{{ durationFormatted }} {{ durationFormatted }}
</p> </p>
<p v-if="hasFinishedTime" class="finished-at d-none d-md-block"> <p v-if="hasFinishedTime" class="finished-at d-none d-md-block">
<gl-icon name="calendar" class="gl-vertical-align-baseline!" aria-hidden="true" /> <gl-icon name="calendar" class="gl-vertical-align-baseline!" />
<time <time
v-gl-tooltip v-gl-tooltip
......
...@@ -114,7 +114,7 @@ export default { ...@@ -114,7 +114,7 @@ export default {
class="js-issue-token-remove-button" class="js-issue-token-remove-button"
@click="onRemoveRequest" @click="onRemoveRequest"
> >
<gl-icon name="close" aria-hidden="true" /> <gl-icon name="close" />
</button> </button>
</div> </div>
</template> </template>
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
<article class="file-holder limited-width-container readme-holder"> <article class="file-holder limited-width-container readme-holder">
<div class="js-file-title file-title-flex-parent"> <div class="js-file-title file-title-flex-parent">
<div class="file-header-content"> <div class="file-header-content">
<gl-icon name="doc-text" aria-hidden="true" /> <gl-icon name="doc-text" />
<gl-link :href="blob.webPath"> <gl-link :href="blob.webPath">
<strong>{{ blob.name }}</strong> <strong>{{ blob.name }}</strong>
</gl-link> </gl-link>
......
...@@ -66,7 +66,7 @@ export default { ...@@ -66,7 +66,7 @@ export default {
href="#" href="#"
role="button" role="button"
> >
<gl-icon aria-hidden="true" data-hidden="true" name="chevron-double-lg-right" :size="12" /> <gl-icon data-hidden="true" name="chevron-double-lg-right" :size="12" />
</a> </a>
</div> </div>
</template> </template>
...@@ -77,7 +77,7 @@ export default { ...@@ -77,7 +77,7 @@ export default {
class="sidebar-collapsed-icon" class="sidebar-collapsed-icon"
@click="toggleForm" @click="toggleForm"
> >
<gl-icon :name="confidentialityIcon" aria-hidden="true" /> <gl-icon :name="confidentialityIcon" />
</div> </div>
<div class="title hide-collapsed"> <div class="title hide-collapsed">
{{ __('Confidentiality') }} {{ __('Confidentiality') }}
...@@ -101,16 +101,11 @@ export default { ...@@ -101,16 +101,11 @@ export default {
:issuable-type="issuableType" :issuable-type="issuableType"
/> />
<div v-if="!confidential" class="no-value sidebar-item-value" data-testid="not-confidential"> <div v-if="!confidential" class="no-value sidebar-item-value" data-testid="not-confidential">
<gl-icon :size="16" name="eye" aria-hidden="true" class="sidebar-item-icon inline" /> <gl-icon :size="16" name="eye" class="sidebar-item-icon inline" />
{{ __('Not confidential') }} {{ __('Not confidential') }}
</div> </div>
<div v-else class="value sidebar-item-value hide-collapsed"> <div v-else class="value sidebar-item-value hide-collapsed">
<gl-icon <gl-icon :size="16" name="eye-slash" class="sidebar-item-icon inline is-active" />
:size="16"
name="eye-slash"
aria-hidden="true"
class="sidebar-item-icon inline is-active"
/>
{{ confidentialText }} {{ confidentialText }}
</div> </div>
</div> </div>
......
...@@ -59,7 +59,7 @@ export default { ...@@ -59,7 +59,7 @@ export default {
href="#" href="#"
role="button" role="button"
> >
<gl-icon aria-hidden="true" data-hidden="true" name="chevron-double-lg-right" :size="12" /> <gl-icon data-hidden="true" name="chevron-double-lg-right" :size="12" />
</a> </a>
</div> </div>
</template> </template>
...@@ -114,12 +114,7 @@ export default { ...@@ -114,12 +114,7 @@ export default {
class="sidebar-collapsed-icon" class="sidebar-collapsed-icon"
@click="onClickCollapsedIcon" @click="onClickCollapsedIcon"
> >
<gl-icon <gl-icon :name="notificationIcon" :size="16" class="sidebar-item-icon is-active" />
:name="notificationIcon"
:size="16"
aria-hidden="true"
class="sidebar-item-icon is-active"
/>
</span> </span>
<span class="issuable-header-text hide-collapsed float-left"> {{ notificationText }} </span> <span class="issuable-header-text hide-collapsed float-left"> {{ notificationText }} </span>
<toggle-button <toggle-button
......
...@@ -174,13 +174,13 @@ export default { ...@@ -174,13 +174,13 @@ export default {
:aria-label="__('Add reaction')" :aria-label="__('Add reaction')"
> >
<span class="reaction-control-icon reaction-control-icon-neutral"> <span class="reaction-control-icon reaction-control-icon-neutral">
<gl-icon aria-hidden="true" name="slight-smile" /> <gl-icon name="slight-smile" />
</span> </span>
<span class="reaction-control-icon reaction-control-icon-positive"> <span class="reaction-control-icon reaction-control-icon-positive">
<gl-icon aria-hidden="true" name="smiley" /> <gl-icon name="smiley" />
</span> </span>
<span class="reaction-control-icon reaction-control-icon-super-positive"> <span class="reaction-control-icon reaction-control-icon-super-positive">
<gl-icon aria-hidden="true" name="smile" /> <gl-icon name="smile" />
</span> </span>
</gl-button> </gl-button>
</div> </div>
......
...@@ -219,7 +219,7 @@ export default { ...@@ -219,7 +219,7 @@ export default {
<span v-if="utc" class="gl-text-gray-500 gl-font-weight-bold gl-font-sm">{{ <span v-if="utc" class="gl-text-gray-500 gl-font-weight-bold gl-font-sm">{{
__('UTC') __('UTC')
}}</span> }}</span>
<gl-icon class="gl-dropdown-caret" name="chevron-down" aria-hidden="true" /> <gl-icon class="gl-dropdown-caret" name="chevron-down" />
</template> </template>
<div class="d-flex justify-content-between gl-p-2"> <div class="d-flex justify-content-between gl-p-2">
......
...@@ -45,7 +45,7 @@ export default { ...@@ -45,7 +45,7 @@ export default {
data-testid="close" data-testid="close"
@click="dismiss" @click="dismiss"
> >
<gl-icon name="close" aria-hidden="true" class="gl-text-gray-500" /> <gl-icon name="close" class="gl-text-gray-500" />
</button> </button>
</div> </div>
</div> </div>
......
...@@ -44,6 +44,6 @@ export default { ...@@ -44,6 +44,6 @@ export default {
type="search" type="search"
autocomplete="off" autocomplete="off"
/> />
<gl-icon name="search" class="dropdown-input-search" aria-hidden="true" data-hidden="true" /> <gl-icon name="search" class="dropdown-input-search" data-hidden="true" />
</div> </div>
</template> </template>
...@@ -234,7 +234,6 @@ export default { ...@@ -234,7 +234,6 @@ export default {
name="search" name="search"
class="dropdown-input-search" class="dropdown-input-search"
:class="{ hidden: showClearInputButton }" :class="{ hidden: showClearInputButton }"
aria-hidden="true"
/> />
<gl-icon <gl-icon
name="close" name="close"
......
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
type="button" type="button"
class="dropdown-title-button dropdown-menu-close gl-ml-auto" class="dropdown-title-button dropdown-menu-close gl-ml-auto"
> >
<gl-icon name="close" aria-hidden="true" class="dropdown-menu-close-icon" /> <gl-icon name="close" class="dropdown-menu-close-icon" />
</button> </button>
</div> </div>
</template> </template>
...@@ -27,7 +27,7 @@ export default { ...@@ -27,7 +27,7 @@ export default {
<template> <template>
<!-- TODO: im not sure why this is rendered only for exactly 50 items, why not >= 50? --> <!-- TODO: im not sure why this is rendered only for exactly 50 items, why not >= 50? -->
<span v-if="count >= $options.eventsListItemLimit" class="events-info float-right"> <span v-if="count >= $options.eventsListItemLimit" class="events-info float-right">
<gl-icon v-gl-tooltip="{ title: $options.tooltipTitle }" name="warning" aria-hidden="true" /> <gl-icon v-gl-tooltip="{ title: $options.tooltipTitle }" name="warning" />
{{ n__('Showing %d event', 'Showing %d events', $options.eventsListItemLimit) }} {{ n__('Showing %d event', 'Showing %d events', $options.eventsListItemLimit) }}
</span> </span>
</template> </template>
...@@ -69,7 +69,7 @@ export default { ...@@ -69,7 +69,7 @@ export default {
<div class="grid-row d-flex flex-grow-1 flex-column flex-sm-column flex-md-column flex-lg-row"> <div class="grid-row d-flex flex-grow-1 flex-column flex-sm-column flex-md-column flex-lg-row">
<div class="grid-cell header-cell" data-testid="header-cell"> <div class="grid-cell header-cell" data-testid="header-cell">
<span class="icon-wrapper"> <span class="icon-wrapper">
<gl-icon v-if="header.icon" class="gl-mr-3" :name="header.icon" aria-hidden="true" /> <gl-icon v-if="header.icon" class="gl-mr-3" :name="header.icon" />
{{ header.title }} {{ header.title }}
</span> </span>
</div> </div>
......
...@@ -31,12 +31,7 @@ export default { ...@@ -31,12 +31,7 @@ export default {
class="dropdown-input-field" class="dropdown-input-field"
@keyup="handleInputChange" @keyup="handleInputChange"
/> />
<gl-icon name="search" class="dropdown-input-search" aria-hidden="true" data-hidden="true" /> <gl-icon name="search" class="dropdown-input-search" data-hidden="true" />
<gl-icon <gl-icon name="close" class="dropdown-input-clear" @click="handleInputClear" />
name="close"
class="dropdown-input-clear"
aria-hidden="true"
@click="handleInputClear"
/>
</div> </div>
</template> </template>
...@@ -159,7 +159,7 @@ export default { ...@@ -159,7 +159,7 @@ export default {
:aria-label="issuesCountTooltipText" :aria-label="issuesCountTooltipText"
data-testid="epic-lane-issue-count" data-testid="epic-lane-issue-count"
> >
<gl-icon class="gl-mr-2 gl-flex-shrink-0" name="issues" aria-hidden="true" /> <gl-icon class="gl-mr-2 gl-flex-shrink-0" name="issues" />
<span aria-hidden="true">{{ issuesCount }}</span> <span aria-hidden="true">{{ issuesCount }}</span>
</span> </span>
<gl-loading-icon v-if="isLoading" class="gl-p-2" /> <gl-loading-icon v-if="isLoading" class="gl-p-2" />
......
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
:aria-label="unassignedIssuesCountTooltipText" :aria-label="unassignedIssuesCountTooltipText"
data-testid="issues-lane-issue-count" data-testid="issues-lane-issue-count"
> >
<gl-icon class="gl-mr-2 gl-flex-shrink-0" name="issues" aria-hidden="true" /> <gl-icon class="gl-mr-2 gl-flex-shrink-0" name="issues" />
<span aria-hidden="true">{{ unassignedIssuesCount }}</span> <span aria-hidden="true">{{ unassignedIssuesCount }}</span>
</span> </span>
</div> </div>
......
...@@ -121,12 +121,7 @@ export default { ...@@ -121,12 +121,7 @@ export default {
:aria-label="expandIconLabel" :aria-label="expandIconLabel"
@click="toggleIsEpicExpanded" @click="toggleIsEpicExpanded"
> >
<gl-icon <gl-icon v-if="!childrenFetchInProgress" :name="expandIconName" class="text-secondary" />
v-if="!childrenFetchInProgress"
:name="expandIconName"
class="text-secondary"
aria-hidden="true"
/>
<gl-loading-icon v-if="childrenFetchInProgress" size="sm" /> <gl-loading-icon v-if="childrenFetchInProgress" size="sm" />
</gl-button> </gl-button>
</span> </span>
...@@ -165,7 +160,7 @@ export default { ...@@ -165,7 +160,7 @@ export default {
</div> </div>
<template v-if="allowSubEpics"> <template v-if="allowSubEpics">
<div ref="childEpicsCount" class="gl-mt-1 d-flex text-secondary text-nowrap"> <div ref="childEpicsCount" class="gl-mt-1 d-flex text-secondary text-nowrap">
<gl-icon name="epic" class="align-text-bottom mr-1" aria-hidden="true" /> <gl-icon name="epic" class="align-text-bottom mr-1" />
<p class="m-0" :aria-label="childEpicsCountText">{{ childEpicsCount }}</p> <p class="m-0" :aria-label="childEpicsCountText">{{ childEpicsCount }}</p>
</div> </div>
<gl-tooltip ref="childEpicsCountTooltip" :target="() => $refs.childEpicsCount"> <gl-tooltip ref="childEpicsCountTooltip" :target="() => $refs.childEpicsCount">
......
...@@ -133,7 +133,7 @@ export default { ...@@ -133,7 +133,7 @@ export default {
variant="link" variant="link"
@click="toggleMilestonesExpanded" @click="toggleMilestonesExpanded"
> >
<gl-icon :name="expandButton.name" class="text-secondary" aria-hidden="true" /> <gl-icon :name="expandButton.name" class="text-secondary" />
</gl-button> </gl-button>
</span> </span>
<div class="gl-overflow-hidden gl-flex-grow-1 gl-mx-3 gl-font-weight-bold"> <div class="gl-overflow-hidden gl-flex-grow-1 gl-mx-3 gl-font-weight-bold">
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
class="gl-display-flex gl-align-items-center gl-justify-content-center text-secondary gl-white-space-nowrap" class="gl-display-flex gl-align-items-center gl-justify-content-center text-secondary gl-white-space-nowrap"
data-testid="count" data-testid="count"
> >
<gl-icon name="clock" class="gl-mr-2" aria-hidden="true" /> <gl-icon name="clock" class="gl-mr-2" />
<span :aria-label="milestonesCountText">{{ milestonesCount }}</span> <span :aria-label="milestonesCountText">{{ milestonesCount }}</span>
</div> </div>
</div> </div>
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
<template> <template>
<div v-if="issue.hiddenCount" class="p-3 d-flex align-items-center"> <div v-if="issue.hiddenCount" class="p-3 d-flex align-items-center">
<gl-icon class="gl-mr-3" name="eye-slash" aria-hidden="true" /> <gl-icon class="gl-mr-3" name="eye-slash" />
{{ hiddenBlockingMRsText }} {{ hiddenBlockingMRsText }}
</div> </div>
<related-issuable-item <related-issuable-item
......
...@@ -11,7 +11,6 @@ exports[`Repository file preview component renders file HTML 1`] = ` ...@@ -11,7 +11,6 @@ exports[`Repository file preview component renders file HTML 1`] = `
class="file-header-content" class="file-header-content"
> >
<gl-icon-stub <gl-icon-stub
aria-hidden="true"
name="doc-text" name="doc-text"
size="16" size="16"
/> />
......
...@@ -10,7 +10,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = false and i ...@@ -10,7 +10,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = false and i
title="Not confidential" title="Not confidential"
> >
<gl-icon-stub <gl-icon-stub
aria-hidden="true"
name="eye" name="eye"
size="16" size="16"
/> />
...@@ -35,7 +34,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = false and i ...@@ -35,7 +34,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = false and i
data-testid="not-confidential" data-testid="not-confidential"
> >
<gl-icon-stub <gl-icon-stub
aria-hidden="true"
class="sidebar-item-icon inline" class="sidebar-item-icon inline"
name="eye" name="eye"
size="16" size="16"
...@@ -58,7 +56,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = false and i ...@@ -58,7 +56,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = false and i
title="Not confidential" title="Not confidential"
> >
<gl-icon-stub <gl-icon-stub
aria-hidden="true"
name="eye" name="eye"
size="16" size="16"
/> />
...@@ -91,7 +88,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = false and i ...@@ -91,7 +88,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = false and i
data-testid="not-confidential" data-testid="not-confidential"
> >
<gl-icon-stub <gl-icon-stub
aria-hidden="true"
class="sidebar-item-icon inline" class="sidebar-item-icon inline"
name="eye" name="eye"
size="16" size="16"
...@@ -114,7 +110,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = true and is ...@@ -114,7 +110,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = true and is
title="Confidential" title="Confidential"
> >
<gl-icon-stub <gl-icon-stub
aria-hidden="true"
name="eye-slash" name="eye-slash"
size="16" size="16"
/> />
...@@ -138,7 +133,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = true and is ...@@ -138,7 +133,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = true and is
class="value sidebar-item-value hide-collapsed" class="value sidebar-item-value hide-collapsed"
> >
<gl-icon-stub <gl-icon-stub
aria-hidden="true"
class="sidebar-item-icon inline is-active" class="sidebar-item-icon inline is-active"
name="eye-slash" name="eye-slash"
size="16" size="16"
...@@ -161,7 +155,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = true and is ...@@ -161,7 +155,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = true and is
title="Confidential" title="Confidential"
> >
<gl-icon-stub <gl-icon-stub
aria-hidden="true"
name="eye-slash" name="eye-slash"
size="16" size="16"
/> />
...@@ -193,7 +186,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = true and is ...@@ -193,7 +186,6 @@ exports[`Confidential Issue Sidebar Block renders for confidential = true and is
class="value sidebar-item-value hide-collapsed" class="value sidebar-item-value hide-collapsed"
> >
<gl-icon-stub <gl-icon-stub
aria-hidden="true"
class="sidebar-item-icon inline is-active" class="sidebar-item-icon inline is-active"
name="eye-slash" name="eye-slash"
size="16" size="16"
......
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