Skip to content

Commit cfe802d

Browse files
committed
Don't apply a default title to icons
1 parent 905824b commit cfe802d

File tree

16 files changed

+3
-130
lines changed

16 files changed

+3
-130
lines changed

src/components/accordion/__snapshots__/accordion.test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ exports[`EuiAccordion is rendered 1`] = `
2424
class="euiFlexItem euiFlexItem--flexGrowZero"
2525
>
2626
<svg
27-
aria-label="arrow right icon"
2827
class="euiIcon euiIcon--medium"
2928
height="16"
3029
viewBox="0 0 16 16"

src/components/context_menu/__snapshots__/context_menu.test.js.snap

-7
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ exports[`EuiContextMenu props panels and initialPanelId allows you to click the
2626
class="euiContextMenu__itemLayout"
2727
>
2828
<svg
29-
aria-label="arrow left icon"
3029
class="euiIcon euiContextMenu__icon euiIcon--medium"
3130
height="16"
3231
viewBox="0 0 16 16"
@@ -80,7 +79,6 @@ exports[`EuiContextMenu props panels and initialPanelId allows you to click the
8079
class="euiContextMenu__itemLayout"
8180
>
8281
<svg
83-
aria-label="arrow left icon"
8482
class="euiIcon euiContextMenu__icon euiIcon--medium"
8583
height="16"
8684
viewBox="0 0 16 16"
@@ -126,7 +124,6 @@ exports[`EuiContextMenu props panels and initialPanelId allows you to click the
126124
class="euiContextMenu__itemLayout"
127125
>
128126
<svg
129-
aria-label="arrow left icon"
130127
class="euiIcon euiContextMenu__icon euiIcon--medium"
131128
height="16"
132129
viewBox="0 0 16 16"
@@ -167,7 +164,6 @@ exports[`EuiContextMenu props panels and initialPanelId allows you to click the
167164
2a
168165
</span>
169166
<svg
170-
aria-label="arrow right icon"
171167
class="euiIcon euiContextMenu__arrow euiIcon--medium"
172168
height="16"
173169
viewBox="0 0 16 16"
@@ -202,7 +198,6 @@ exports[`EuiContextMenu props panels and initialPanelId allows you to click the
202198
2b
203199
</span>
204200
<svg
205-
aria-label="arrow right icon"
206201
class="euiIcon euiContextMenu__arrow euiIcon--medium"
207202
height="16"
208203
viewBox="0 0 16 16"
@@ -237,7 +232,6 @@ exports[`EuiContextMenu props panels and initialPanelId allows you to click the
237232
2c
238233
</span>
239234
<svg
240-
aria-label="arrow right icon"
241235
class="euiIcon euiContextMenu__arrow euiIcon--medium"
242236
height="16"
243237
viewBox="0 0 16 16"
@@ -281,7 +275,6 @@ exports[`EuiContextMenu props panels and initialPanelId renders the referenced p
281275
class="euiContextMenu__itemLayout"
282276
>
283277
<svg
284-
aria-label="arrow left icon"
285278
class="euiIcon euiContextMenu__icon euiIcon--medium"
286279
height="16"
287280
viewBox="0 0 16 16"

src/components/context_menu/__snapshots__/context_menu_item.test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ exports[`EuiContextMenuItem props hasPanel is rendered 1`] = `
3131
class="euiContextMenuItem__text"
3232
/>
3333
<svg
34-
aria-label="arrow right icon"
3534
class="euiIcon euiContextMenu__arrow euiIcon--medium"
3635
height="16"
3736
viewBox="0 0 16 16"

src/components/context_menu/__snapshots__/context_menu_panel.test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ exports[`EuiContextMenuPanel props onClose renders a button as a title 1`] = `
2727
class="euiContextMenu__itemLayout"
2828
>
2929
<svg
30-
aria-label="arrow left icon"
3130
class="euiIcon euiContextMenu__icon euiIcon--medium"
3231
height="16"
3332
viewBox="0 0 16 16"

src/components/form/field_password/__snapshots__/field_password.test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ exports[`EuiFieldPassword is rendered 1`] = `
1111
type="password"
1212
/>
1313
<svg
14-
aria-label="lock icon"
1514
class="euiIcon euiFormControlLayout__icon euiIcon--medium"
1615
height="16"
1716
viewBox="0 0 16 16"

src/components/form/field_search/__snapshots__/field_search.test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ exports[`EuiFieldSearch is rendered 1`] = `
1111
type="search"
1212
/>
1313
<svg
14-
aria-label="search icon"
1514
class="euiIcon euiFormControlLayout__icon euiIcon--medium"
1615
height="16"
1716
viewBox="0 0 16 16"

src/components/form/select/__snapshots__/select.test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ exports[`EuiSelect is rendered 1`] = `
1010
data-test-subj="test subject string"
1111
/>
1212
<svg
13-
aria-label="arrow down icon"
1413
class="euiIcon euiFormControlLayout__icon euiFormControlLayout__icon--right euiIcon--medium"
1514
height="16"
1615
viewBox="0 0 16 16"

src/components/form/switch/__snapshots__/switch.test.js.snap

-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ exports[`EuiSwitch is rendered 1`] = `
2020
class="euiSwitch__track"
2121
>
2222
<svg
23-
aria-label="cross icon"
2423
class="euiIcon euiSwitch__icon euiIcon--medium"
2524
height="16"
2625
viewBox="0 0 16 16"
@@ -40,7 +39,6 @@ exports[`EuiSwitch is rendered 1`] = `
4039
/>
4140
</svg>
4241
<svg
43-
aria-label="check icon"
4442
class="euiIcon euiSwitch__icon euiSwitch__icon--checked euiIcon--medium"
4543
height="16"
4644
viewBox="0 0 16 16"

src/components/header/__snapshots__/header_logo.test.js.snap

-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ exports[`EuiHeaderLogo is rendered 1`] = `
77
data-test-subj="test subject string"
88
>
99
<svg
10-
aria-label="logo elastic icon"
1110
class="euiIcon euiHeaderLogo__icon euiIcon--xLarge"
1211
height="32"
1312
viewBox="0 0 32 32"
@@ -53,7 +52,6 @@ exports[`EuiHeaderLogo renders href 1`] = `
5352
href="#"
5453
>
5554
<svg
56-
aria-label="logo elastic icon"
5755
class="euiIcon euiHeaderLogo__icon euiIcon--xLarge"
5856
height="32"
5957
viewBox="0 0 32 32"

src/components/header/header_alert/__snapshots__/header_alert.test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ exports[`EuiHeaderAlert is rendered 1`] = `
1313
>
1414
<svg
1515
aria-hidden="true"
16-
aria-label="cross icon"
1716
class="euiIcon euiButtonIcon__icon euiIcon--medium"
1817
height="16"
1918
viewBox="0 0 16 16"

src/components/health/__snapshots__/health.test.js.snap

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ exports[`EuiHealth is rendered 1`] = `
1313
class="euiFlexItem euiFlexItem--flexGrowZero"
1414
>
1515
<svg
16-
aria-label="dot icon"
1716
class="euiIcon euiIcon--medium"
1817
height="16"
1918
viewBox="0 0 16 16"

0 commit comments

Comments
 (0)