Skip to content

Commit e52a369

Browse files
committed
refactor: streamline link attributes in homepage components for improved accessibility
1 parent a0e06e3 commit e52a369

File tree

11 files changed

+98
-190
lines changed

11 files changed

+98
-190
lines changed

root/layout/components/NewFooter.js

Lines changed: 20 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,13 @@ component NewFooter() {
3535
<ul className="list-unstyled">
3636
<li className="color-a">
3737
<span>Development IRC: </span>{" "}
38-
<a
39-
href="/doc/Communication/ChatBrainz"
40-
target="_blank"
41-
rel="noopener noreferrer"
42-
>
38+
<a href="/doc/Communication/ChatBrainz">
4339
#metabrainz
4440
</a>
4541
</li>
4642
<li className="color-a">
4743
<span>Discussion IRC: </span>{" "}
48-
<a
49-
href="/doc/Communication/ChatBrainz"
50-
target="_blank"
51-
rel="noopener noreferrer"
52-
>
44+
<a href="/doc/Communication/ChatBrainz">
5345
#metabrainz
5446
</a>
5547
</li>
@@ -66,81 +58,49 @@ component NewFooter() {
6658
<ul className="list-unstyled">
6759
<li>
6860
<FontAwesomeIcon icon={faAngleRight} size="sm" />
69-
<a
70-
href="https://metabrainz.org/donate"
71-
target="_blank"
72-
rel="noopener noreferrer"
73-
>
61+
<a href="https://metabrainz.org/donate">
7462
Donate
7563
</a>
7664
</li>
7765
<li>
7866
<FontAwesomeIcon icon={faAngleRight} size="sm" />
79-
<a
80-
href="https://wiki.musicbrainz.org/Main_Page"
81-
target="_blank"
82-
rel="noopener noreferrer"
83-
>
67+
<a href="https://wiki.musicbrainz.org/Main_Page">
8468
Wiki
8569
</a>
8670
</li>
8771
<li>
8872
<FontAwesomeIcon icon={faAngleRight} size="sm" />
89-
<a
90-
href="https://community.metabrainz.org/"
91-
target="_blank"
92-
rel="noopener noreferrer"
93-
>
73+
<a href="https://community.metabrainz.org/">
9474
Community
9575
</a>
9676
</li>
9777
<li>
9878
<FontAwesomeIcon icon={faAngleRight} size="sm" />
99-
<a
100-
href="https://blog.metabrainz.org/"
101-
target="_blank"
102-
rel="noopener noreferrer"
103-
>
79+
<a href="https://blog.metabrainz.org/">
10480
Blog
10581
</a>
10682
</li>
10783
<li>
10884
<FontAwesomeIcon icon={faAngleRight} size="sm" />
109-
<a
110-
href="https://www.redbubble.com/people/metabrainz/shop"
111-
target="_blank"
112-
rel="noopener noreferrer"
113-
>
85+
<a href="https://www.redbubble.com/people/metabrainz/shop">
11486
Shop
11587
</a>
11688
</li>
11789
<li>
11890
<FontAwesomeIcon icon={faAngleRight} size="sm" />
119-
<a
120-
href="https://metabrainz.org/"
121-
target="_blank"
122-
rel="noopener noreferrer"
123-
>
91+
<a href="https://metabrainz.org/">
12492
MetaBrainz
12593
</a>
12694
</li>
12795
<li className="d-block d-md-none">
12896
<FontAwesomeIcon icon={faAngleRight} size="sm" />
129-
<a
130-
href="https://github.com/metabrainz/listenbrainz-server"
131-
target="_blank"
132-
rel="noopener noreferrer"
133-
>
97+
<a href="https://github.com/metabrainz/listenbrainz-server">
13498
Contribute Here
13599
</a>
136100
</li>
137101
<li className="d-block d-md-none">
138102
<FontAwesomeIcon icon={faAngleRight} size="sm" />
139-
<a
140-
href="https://tickets.metabrainz.org/"
141-
target="_blank"
142-
rel="noopener noreferrer"
143-
>
103+
<a href="https://tickets.metabrainz.org/">
144104
Bug Tracker
145105
</a>
146106
</li>
@@ -151,61 +111,37 @@ component NewFooter() {
151111
<ul className="list-unstyled">
152112
<li>
153113
<FontAwesomeIcon icon={faAngleRight} size="sm" />
154-
<a
155-
href="https://listenbrainz.org/"
156-
target="_blank"
157-
rel="noopener noreferrer"
158-
>
114+
<a href="https://listenbrainz.org/">
159115
{l('ListenBrainz')}
160116
</a>
161117
</li>
162118
<li>
163119
<FontAwesomeIcon icon={faAngleRight} size="sm" />
164-
<a
165-
href="https://critiquebrainz.org/"
166-
target="_blank"
167-
rel="noopener noreferrer"
168-
>
120+
<a href="https://critiquebrainz.org/">
169121
{l('CritiqueBrainz')}
170122
</a>
171123
</li>
172124
<li>
173125
<FontAwesomeIcon icon={faAngleRight} size="sm" />
174-
<a
175-
href="https://picard.musicbrainz.org/"
176-
target="_blank"
177-
rel="noopener noreferrer"
178-
>
126+
<a href="https://picard.musicbrainz.org/">
179127
{l('Picard')}
180128
</a>
181129
</li>
182130
<li>
183131
<FontAwesomeIcon icon={faAngleRight} size="sm" />
184-
<a
185-
href="https://bookbrainz.org/"
186-
target="_blank"
187-
rel="noopener noreferrer"
188-
>
132+
<a href="https://bookbrainz.org/">
189133
{l('BookBrainz')}
190134
</a>
191135
</li>
192136
<li>
193137
<FontAwesomeIcon icon={faAngleRight} size="sm" />
194-
<a
195-
href="https://acousticbrainz.org/"
196-
target="_blank"
197-
rel="noopener noreferrer"
198-
>
138+
<a href="https://acousticbrainz.org/">
199139
{l('AcousticBrainz')}
200140
</a>
201141
</li>
202142
<li>
203143
<FontAwesomeIcon icon={faAngleRight} size="sm" />
204-
<a
205-
href="https://coverartarchive.org"
206-
target="_blank"
207-
rel="noopener noreferrer"
208-
>
144+
<a href="https://coverartarchive.org">
209145
{l('Cover Art Archive')}
210146
</a>
211147
</li>
@@ -228,11 +164,7 @@ component NewFooter() {
228164
</li>
229165
<li>
230166
<FontAwesomeIcon icon={faAngleRight} size="sm" />
231-
<a
232-
href="https://picard.musicbrainz.org/"
233-
target="_blank"
234-
rel="noopener noreferrer"
235-
>
167+
<a href="https://picard.musicbrainz.org/">
236168
{l('How Tos')}
237169
</a>
238170
</li>
@@ -261,11 +193,7 @@ component NewFooter() {
261193
<div className="col-12 col-lg-3">
262194
<p className="border-light border-top pt-3 text-center">
263195
OSS Geek?{" "}
264-
<a
265-
href="https://github.com/metabrainz/musicbrainz-server"
266-
target="_blank"
267-
rel="noopener noreferrer"
268-
>
196+
<a href="https://github.com/metabrainz/musicbrainz-server">
269197
Contribute Here {" "}
270198
</a>
271199
</p>
@@ -279,23 +207,15 @@ component NewFooter() {
279207
height="30"
280208
alt="MetaBrainz"
281209
/>{" "}
282-
<a
283-
href="https://metabrainz.org/"
284-
target="_blank"
285-
rel="noopener noreferrer"
286-
>
210+
<a href="https://metabrainz.org/">
287211
MetaBrainz Foundation
288212
</a>
289213
</p>
290214
</div>
291215
<div className="col-12 col-lg-3">
292216
<p className="border-light border-top pt-3 text-center">
293217
Found an Issue?{" "}
294-
<a
295-
href="https://tickets.metabrainz.org/"
296-
target="_blank"
297-
rel="noopener noreferrer"
298-
>
218+
<a href="https://tickets.metabrainz.org/">
299219
Report Here {" "}
300220
</a>
301221
</p>

0 commit comments

Comments
 (0)