Skip to content

Commit 7e1ccd4

Browse files
authored
Merge pull request #3056 from romitgit/MSFT-122-Issue#2820
MSFT 122 Issue#2820 - fixed improper heading level structure
2 parents dc28047 + f276c9f commit 7e1ccd4

File tree

3 files changed

+29
-29
lines changed

3 files changed

+29
-29
lines changed

src/shared/components/challenge-detail/Header/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,9 @@ export default function ChallengeHeader(props) {
261261
</div>
262262
<div styleName="prizes-ops-container">
263263
<div styleName="prizes-outer-container">
264-
<h3 styleName="prizes-title">
264+
<h2 styleName="prizes-title">
265265
PRIZES
266-
</h3>
266+
</h2>
267267
<Prizes prizes={prizes && prizes.length ? prizes : [0]} pointPrizes={pointPrizes} />
268268
{
269269
bonusType ? (

src/shared/components/challenge-detail/Specification/SideBar/index.jsx

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ DOWNLOADS:
100100
{
101101
!isDesign && !isMM && (
102102
<div>
103-
<h3>
103+
<h2>
104104
REVIEW STYLE:
105-
</h3>
106-
<h4>
105+
</h2>
106+
<h3>
107107
Final Review:
108-
</h4>
108+
</h3>
109109
<span styleName="link-like-paragraph tooltip-container">
110110
{reviewTypeTitle}
111111
<Tooltip content={reviewTip}>
@@ -114,9 +114,9 @@ Final Review:
114114
</div>
115115
</Tooltip>
116116
</span>
117-
<h4>
117+
<h3>
118118
Approval:
119-
</h4>
119+
</h3>
120120
<span styleName="link-like-paragraph tooltip-container">
121121
User Sign-Off
122122
<Tooltip content={approvalTip} className={styles['tooltip-overlay']}>
@@ -131,9 +131,9 @@ Approval:
131131
{
132132
!isMM && (
133133
<div>
134-
<h3>
134+
<h2>
135135
CHALLENGE LINKS:
136-
</h3>
136+
</h2>
137137
{
138138
isDevelop && environment && environment.length > 0
139139
&& (
@@ -181,12 +181,12 @@ Approval:
181181
isDesign
182182
&& (
183183
<div>
184-
<h3>
184+
<h2>
185185
SUBMISSION FORMAT:
186-
</h3>
187-
<h4>
186+
</h2>
187+
<h3>
188188
Your Design Files:
189-
</h4>
189+
</h3>
190190
<ol>
191191
<li>
192192
{'Look for instructions in this challenge regarding what files to provide.'}
@@ -214,9 +214,9 @@ Your Design Files:
214214
Read the FAQ.
215215
</a>
216216
</p>
217-
<h4>
217+
<h3>
218218
Fonts, Stock Photos, and Icons:
219-
</h4>
219+
</h3>
220220
<p styleName="link-like-paragraph">
221221
All fonts, stock photos, and icons within your design must be declared
222222
when you submit. DO NOT include any 3rd party files in your
@@ -226,9 +226,9 @@ Fonts, Stock Photos, and Icons:
226226
policy.
227227
</a>
228228
</p>
229-
<h4>
229+
<h3>
230230
Screening:
231-
</h4>
231+
</h3>
232232
<p styleName="link-like-paragraph">
233233
All submissions are screened for eligibility before the challenge
234234
holder picks winners. Don
@@ -248,9 +248,9 @@ t let your hard work go to waste. Learn more about how to
248248
</a>
249249
}
250250
</p>
251-
<h3>
251+
<h2>
252252
SOURCE FILES:
253-
</h3>
253+
</h2>
254254
<ul styleName="source-files-list">
255255
{
256256
fileTypes && fileTypes.length > 0
@@ -265,9 +265,9 @@ SOURCE FILES:
265265
<p styleName="link-like-paragraph">
266266
You must include all source files with your submission.
267267
</p>
268-
<h3>
268+
<h2>
269269
SUBMISSION LIMIT:
270-
</h3>
270+
</h2>
271271
<p styleName="link-like-paragraph">
272272
{
273273
submissionLimit
@@ -285,9 +285,9 @@ SUBMISSION LIMIT:
285285
terms.length > 0
286286
&& (
287287
<div>
288-
<h3>
288+
<h2>
289289
CHALLENGE TERMS:
290-
</h3>
290+
</h2>
291291
<div styleName="link-like-paragraph">
292292
{
293293
terms.map(t => (
@@ -306,9 +306,9 @@ CHALLENGE TERMS:
306306
}
307307
{ shareable && (
308308
<div>
309-
<h3>
309+
<h2>
310310
SHARE:
311-
</h3>
311+
</h2>
312312
<ShareSocial />
313313
</div>
314314
)}

src/shared/components/challenge-detail/Specification/SideBar/styles.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
padding-bottom: 7px;
9292
}
9393

94-
h3 {
94+
h2 {
9595
@include roboto-bold;
9696

9797
font-size: 13px;
@@ -100,7 +100,7 @@
100100
padding-bottom: 2px;
101101
}
102102

103-
h4 {
103+
h3 {
104104
@include roboto-bold;
105105

106106
font-size: 13px;
@@ -109,7 +109,7 @@
109109
margin-top: 4 * $base-unit;
110110
}
111111

112-
h4:first-of-type {
112+
h3:first-of-type {
113113
margin-top: 2 * $base-unit;
114114
}
115115

0 commit comments

Comments
 (0)