Skip to content

Commit db21b0c

Browse files
accessibility issue fix for level one heading and its order (#1797)
Co-authored-by: Sebastian Beltran <[email protected]>
1 parent 1d9c326 commit db21b0c

File tree

19 files changed

+84
-82
lines changed

19 files changed

+84
-82
lines changed

css/langs/th.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
font: 100 4.1em "TH SarabunNew", "Helvetica Neue", "Open Sans", sans-serif;
1010
color: #aeaeae;
1111
line-height: .87;
12+
margin: unset;
1213
}
1314

1415
/* Non-English pages use pre and code tags for code blocks */

css/style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ h1 {
2020
line-height: 36px;
2121
}
2222

23-
#intro h3, #api-doc h1 {
23+
#intro h2, #api-doc h1 {
2424
font-weight: normal;
2525
}
2626

@@ -149,7 +149,7 @@ span.block-section {
149149
display: block;
150150
}
151151

152-
#intro h3 {
152+
#intro h2 {
153153
font-size: 25px;
154154
margin-bottom: 10px;
155155
}
@@ -273,6 +273,7 @@ a {
273273
font: 100 4.1em "Helvetica Neue", "Open Sans", sans-serif;
274274
color: var(--menu-grey);
275275
line-height: .87;
276+
margin: unset
276277
}
277278

278279
#doc-langs {
@@ -391,7 +392,7 @@ html[xmlns] .clearfix {
391392
margin-top: 30px;
392393
}
393394

394-
#boxes h3 {
395+
#boxes h2 {
395396
line-height: 1.25em;
396397
color: var(--card-fg);
397398
background: none;

de/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ lang: de
1111
<div id="homepage-leftpane" class="pane">
1212
<section id="description">
1313
<div class="express"><a href="/">Express</a></div>
14-
<span class="description">Schnelles, offenes, unkompliziertes Web-Framework für <a href='http://nodejs.org'>Node.js</a></span>
14+
<h1 class="description">Schnelles, offenes, unkompliziertes Web-Framework für <a href='http://nodejs.org'>Node.js</a></h1>
1515
</section>
1616
<div id="install-command">$ npm install express --save</div>
1717
</div>
@@ -28,17 +28,17 @@ lang: de
2828

2929
<div id="boxes" class="clearfix">
3030
<div id="web-applications">
31-
<h3>Webanwendungen</h3> Express ist ein einfaches und flexibles Node.js-Framework von Webanwendungen, das zahlreiche leistungsfähige Features und Funktionen für Webanwendungen und mobile Anwendungen bereitstellt.
31+
<h2>Webanwendungen</h2> Express ist ein einfaches und flexibles Node.js-Framework von Webanwendungen, das zahlreiche leistungsfähige Features und Funktionen für Webanwendungen und mobile Anwendungen bereitstellt.
3232
</div>
3333

3434
<div id="apis">
35-
<h3>APIs</h3> Mithilfe unzähliger HTTP-Dienstprogrammmethoden und Middlewarefunktionen gestaltet sich das Erstellen einer leistungsfähigen API schnell und einfach. </div>
35+
<h2>APIs</h2> Mithilfe unzähliger HTTP-Dienstprogrammmethoden und Middlewarefunktionen gestaltet sich das Erstellen einer leistungsfähigen API schnell und einfach. </div>
3636

3737
<div id="performance">
38-
<h3>Leistung</h3> Express bietet eine Thin-Layer-Ebene mit grundlegenden Webanwendungsfunktionen, ohne die bekannten Node.js-Features zu überlagern. </div>
38+
<h2>Leistung</h2> Express bietet eine Thin-Layer-Ebene mit grundlegenden Webanwendungsfunktionen, ohne die bekannten Node.js-Features zu überlagern. </div>
3939

4040
<div id="sponsorship">
41-
<a href="http://loopback.io/"><h3>LoopBack</h3> Entwickeln Sie modellorientierte Anwendungen mit einem Express-basierten Framework.<br/>Weitere Informationen finden Sie unter loopback.io.</a>
41+
<a href="http://loopback.io/"><h2>LoopBack</h2> Entwickeln Sie modellorientierte Anwendungen mit einem Express-basierten Framework.<br/>Weitere Informationen finden Sie unter loopback.io.</a>
4242
</div>
4343
</div>
4444

es/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
1212
<div id="homepage-leftpane" class="pane">
1313
<section id="description">
1414
<div class="express"><a href="/">Express</a></div>
15-
<span class="description">Infraestructura web rápida, minimalista y flexible para <a href='http://nodejs.org'>Node.js</a></span>
15+
<h1 class="description">Infraestructura web rápida, minimalista y flexible para <a href='http://nodejs.org'>Node.js</a></h1>
1616
</section>
1717
<div id="install-command">$ npm install express --save</div>
1818
</div>
@@ -29,19 +29,19 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
2929

3030
<div id="boxes" class="clearfix">
3131
<div id="web-applications">
32-
<h3>Aplicaciones web</h3> Express es una infraestructura de aplicaciones web Node.js mínima y flexible que proporciona un conjunto sólido de características para las aplicaciones web y móviles.
32+
<h2>Aplicaciones web</h2> Express es una infraestructura de aplicaciones web Node.js mínima y flexible que proporciona un conjunto sólido de características para las aplicaciones web y móviles.
3333
</div>
3434

3535
<div id="apis">
36-
<h3>API</h3> Con miles de métodos de programa de utilidad HTTP y middleware a su disposición, la creación de una API sólida es rápida y sencilla.
36+
<h2>API</h2> Con miles de métodos de programa de utilidad HTTP y middleware a su disposición, la creación de una API sólida es rápida y sencilla.
3737
</div>
3838

3939
<div id="performance">
40-
<h3>Rendimiento</h3> Express proporciona una delgada capa de características de aplicación web básicas, que no ocultan las características de Node.js que tanto ama y conoce.
40+
<h2>Rendimiento</h2> Express proporciona una delgada capa de características de aplicación web básicas, que no ocultan las características de Node.js que tanto ama y conoce.
4141
</div>
4242

4343
<div id="sponsorship">
44-
<a href="http://loopback.io/"><h3>LoopBack</h3> Desarrolle aplicaciones basadas en modelos con una infraestructura basada en Express.<br/>Encontrará más información en loopback.io.</a>
44+
<a href="http://loopback.io/"><h2>LoopBack</h2> Desarrolle aplicaciones basadas en modelos con una infraestructura basada en Express.<br/>Encontrará más información en loopback.io.</a>
4545
</div>
4646
</div>
4747

fr/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
1212
<div id="homepage-leftpane" class="pane">
1313
<section id="description">
1414
<div class="express"><a href="/">Express</a></div>
15-
<span class="description">Infrastructure Web minimaliste, souple et rapide pour <a href='http://nodejs.org'>Node.js</a></span>
15+
<h1 class="description">Infrastructure Web minimaliste, souple et rapide pour <a href='http://nodejs.org'>Node.js</a></h1>
1616
</section>
1717
<div id="install-command">$ npm install express --save</div>
1818
</div>
@@ -29,19 +29,19 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
2929

3030
<div id="boxes" class="clearfix">
3131
<div id="web-applications">
32-
<h3>Applications Web</h3> Express est une infrastructure d'applications Web Node.js minimaliste et flexible qui fournit un ensemble de fonctionnalités robuste pour les applications Web et mobiles.
32+
<h2>Applications Web</h2> Express est une infrastructure d'applications Web Node.js minimaliste et flexible qui fournit un ensemble de fonctionnalités robuste pour les applications Web et mobiles.
3333
</div>
3434

3535
<div id="apis">
36-
<h3>API</h3> Grâce à une foule de méthodes utilitaires HTTP et de middleware mise à votre disposition, la création d'une API robuste est simple et rapide.
36+
<h2>API</h2> Grâce à une foule de méthodes utilitaires HTTP et de middleware mise à votre disposition, la création d'une API robuste est simple et rapide.
3737
</div>
3838

3939
<div id="performance">
40-
<h3>Performance</h3> Express apporte une couche fine de fonctionnalités d'application Web fondamentales, sans masquer les fonctionnalités de Node.js que vous connaissez et appréciez.
40+
<h2>Performance</h2> Express apporte une couche fine de fonctionnalités d'application Web fondamentales, sans masquer les fonctionnalités de Node.js que vous connaissez et appréciez.
4141
</div>
4242

4343
<div id="sponsorship">
44-
<a href="http://loopback.io/"><h3>LoopBack</h3> Développez des applications pilotées par des modèles à l'aide d'une infrastructure basée sur Express.<br/>Pour en savoir plus, allez sur loopback.io.</a>
44+
<a href="http://loopback.io/"><h2>LoopBack</h2> Développez des applications pilotées par des modèles à l'aide d'une infrastructure basée sur Express.<br/>Pour en savoir plus, allez sur loopback.io.</a>
4545
</div>
4646
</div>
4747

id/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
1212
<div id="homepage-leftpane" class="pane">
1313
<section id="description">
1414
<div class="express"><a href="/">Express</a><a href="{{ page.lang }}/changelog/4x.html#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div>
15-
<span class="description">Kerangka web yang cepat, tidak beropini, dan minimalis untuk <a href='https://nodejs.org/en/'>Node.js</a></span>
15+
<h1 class="description">Kerangka web yang cepat, tidak beropini, dan minimalis untuk <a href='https://nodejs.org/en/'>Node.js</a></h1>
1616
</section>
1717
<div id="install-command">$ npm install express --save</div>
1818
</div>
@@ -26,19 +26,19 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
2626

2727
<div id="boxes" class="clearfix">
2828
<div id="web-applications">
29-
<h3>Aplikasi Web</h3> Express adalah kerangka kerja aplikasi web Node.js yang minimalis dan fleksibel serta menyediakan serangkaian fitur tangguh untuk pembuatan aplikasi web dan seluler.
29+
<h2>Aplikasi Web</h2> Express adalah kerangka kerja aplikasi web Node.js yang minimalis dan fleksibel serta menyediakan serangkaian fitur tangguh untuk pembuatan aplikasi web dan seluler.
3030
</div>
3131

3232
<div id="apis">
33-
<h3>APIs</h3> dengan segudang metode untuk utilitas HTTP dan middleware yang sesuai dengan keinginan Anda, maka membuat API yang kuat dapat dilakukan dengan cepat dan mudah.
33+
<h2>APIs</h2> dengan segudang metode untuk utilitas HTTP dan middleware yang sesuai dengan keinginan Anda, maka membuat API yang kuat dapat dilakukan dengan cepat dan mudah.
3434
</div>
3535

3636
<div id="performance">
37-
<h3>Kinerja</h3> Express menyediakan selapis tipis fitur dasar aplikasi web, tanpa mengaburkan fitur Node.js yang Anda kenal dan sukai.
37+
<h2>Kinerja</h2> Express menyediakan selapis tipis fitur dasar aplikasi web, tanpa mengaburkan fitur Node.js yang Anda kenal dan sukai.
3838
</div>
3939

4040
<div id="middleware">
41-
<h3>Middleware</h3>
41+
<h2>Middleware</h2>
4242
Express memiliki kerangka perutean yang ringan dan fleksibel dengan fitur inti yang minimalis
4343
hal ini dimaksudkan dapat ditingkatkan melalui penggunaan modul dari Express <a href="{{ page.lang }}/resources/middleware.html">middleware</a>.
4444
</div>

index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ redirect_from: "/en/index.html"
1212
<div id="homepage-leftpane" class="pane">
1313
<section id="description">
1414
<div class="express"><a href="/">Express</a><a href="{{ page.lang }}/changelog/4x.html#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div>
15-
<span class="description">Fast, unopinionated, minimalist web framework for <a href='https://nodejs.org/en/'>Node.js</a></span>
15+
<h1 class="description">Fast, unopinionated, minimalist web framework for <a href='https://nodejs.org/en/'>Node.js</a></h1>
1616
</section>
1717
<div id="install-command">$ npm install express --save</div>
1818
</div>
@@ -46,19 +46,19 @@ app.listen(port, () => {
4646

4747
<div id="boxes" class="clearfix">
4848
<div id="web-applications">
49-
<h3>Web Applications</h3> Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
49+
<h2>Web Applications</h2> Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
5050
</div>
5151

5252
<div id="apis">
53-
<h3>APIs</h3> With a myriad of HTTP utility methods and middleware at your disposal, creating a robust API is quick and easy.
53+
<h2>APIs</h2> With a myriad of HTTP utility methods and middleware at your disposal, creating a robust API is quick and easy.
5454
</div>
5555

5656
<div id="performance">
57-
<h3>Performance</h3> Express provides a thin layer of fundamental web application features, without obscuring Node.js features that you know and love.
57+
<h2>Performance</h2> Express provides a thin layer of fundamental web application features, without obscuring Node.js features that you know and love.
5858
</div>
5959

6060
<div id="middleware">
61-
<h3>Middleware</h3>
61+
<h2>Middleware</h2>
6262
Express is a lightweight and flexible routing framework with minimal core features
6363
meant to be augmented through the use of Express <a href="{{ page.lang }}/resources/middleware.html">middleware</a> modules.
6464
</div>

it/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
1212
<div id="homepage-leftpane" class="pane">
1313
<section id="description">
1414
<div class="express"><a href="/">Express</a></div>
15-
<span class="description">Framework web veloce, non categorico e minimalista per <a href='http://nodejs.org'>Node.js</a></span>
15+
<h1 class="description">Framework web veloce, non categorico e minimalista per <a href='http://nodejs.org'>Node.js</a></h1>
1616
</section>
1717
<div id="install-command">$ npm install express --save</div>
1818
</div>
@@ -30,19 +30,19 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
3030

3131
<div id="boxes" class="clearfix">
3232
<div id="web-applications">
33-
<h3>Applicazioni web</h3> Express è un framework per applicazioni web Node.js flessibile e leggero che fornisce una serie di funzioni avanzate per le applicazioni web e per dispositivi mobili.
33+
<h2>Applicazioni web</h2> Express è un framework per applicazioni web Node.js flessibile e leggero che fornisce una serie di funzioni avanzate per le applicazioni web e per dispositivi mobili.
3434
</div>
3535

3636
<div id="apis">
37-
<h3>API</h3> Con una miriade di metodi di utilità HTTP e middleware a disposizione, la creazione di un'API affidabile è un processo facile e veloce.
37+
<h2>API</h2> Con una miriade di metodi di utilità HTTP e middleware a disposizione, la creazione di un'API affidabile è un processo facile e veloce.
3838
</div>
3939

4040
<div id="performance">
41-
<h3>Prestazioni</h3> Express fornisce uno strato sottile di funzionalità di base per le applicazioni web, senza nascondere le funzioni Node.js che conosci e ami.
41+
<h2>Prestazioni</h2> Express fornisce uno strato sottile di funzionalità di base per le applicazioni web, senza nascondere le funzioni Node.js che conosci e ami.
4242
</div>
4343

4444
<div id="sponsorship">
45-
<a href="http://loopback.io/"><h3>LoopBack</h3> Sviluppare applicazioni basate sul modello con un framework basato su Express.<br/>Ulteriori informazioni su loopback.io.</a>
45+
<a href="http://loopback.io/"><h2>LoopBack</h2> Sviluppare applicazioni basate sul modello con un framework basato su Express.<br/>Ulteriori informazioni su loopback.io.</a>
4646
</div>
4747
</div>
4848

ja/index.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
1313
<div id="homepage-leftpane" class="pane">
1414
<section id="description">
1515
<div class="express"><a href="/">Express</a></div>
16-
<span class="description"><a href='https://nodejs.org/ja/'>Node.js</a> のための高速で、革新的な、最小限のWebフレームワーク</span>
16+
<h1 class="description"><a href='https://nodejs.org/ja/'>Node.js</a> のための高速で、革新的な、最小限のWebフレームワーク</h1>
1717
</section>
1818
<div id="install-command">$ npm install express --save</div>
1919
</div>
@@ -32,19 +32,19 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
3232

3333
<div id="boxes" class="clearfix">
3434
<div id="web-applications">
35-
<h3>Web アプリケーション</h3> Express は、Web アプリケーションとモバイル・アプリケーション向けの一連の堅固な機能を提供する最小限で柔軟な Node.js Web アプリケーション・フレームワークです。
35+
<h2>Web アプリケーション</h2> Express は、Web アプリケーションとモバイル・アプリケーション向けの一連の堅固な機能を提供する最小限で柔軟な Node.js Web アプリケーション・フレームワークです。
3636
</div>
3737

3838
<div id="apis">
39-
<h3>API</h3> 無数の HTTP ユーティリティー・メソッドとミドルウェアを自由に使用できるため、堅固な API を迅速かつ容易に作成できます。
39+
<h2>API</h2> 無数の HTTP ユーティリティー・メソッドとミドルウェアを自由に使用できるため、堅固な API を迅速かつ容易に作成できます。
4040
</div>
4141

4242
<div id="performance">
43-
<h3>パフォーマンス</h3> Express は、ユーザーが使い慣れている Node.js の機能をわかりやすくし、基礎的な Web アプリケーション機能をシンプルな階層で提供します。
43+
<h2>パフォーマンス</h2> Express は、ユーザーが使い慣れている Node.js の機能をわかりやすくし、基礎的な Web アプリケーション機能をシンプルな階層で提供します。
4444
</div>
4545

4646
<div id="sponsorship">
47-
<a href="http://loopback.io/"><h3>LoopBack</h3> Express ベースのフレームワークを使用して、モデル駆動型アプリケーションを開発します。<br/>詳細については、loopback.io を参照してください。</a>
47+
<a href="http://loopback.io/"><h2>LoopBack</h2> Express ベースのフレームワークを使用して、モデル駆動型アプリケーションを開発します。<br/>詳細については、loopback.io を参照してください。</a>
4848
</div>
4949
</div>
5050

ko/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
1212
<div id="homepage-leftpane" class="pane">
1313
<section id="description">
1414
<div class="express"><a href="/">Express</a><a href="changelog/4x.html#{{ site.data.express.current_version }}" id="express-version">{{ site.data.express.current_version }}</a></div>
15-
<span class="description"><a href='http://nodejs.org'>Node.js</a>를 위한 빠르고 개방적인 간결한 웹 프레임워크</span>
15+
<h1 class="description"><a href='http://nodejs.org'>Node.js</a>를 위한 빠르고 개방적인 간결한 웹 프레임워크</h1>
1616
</section>
1717
<div id="install-command">$ npm install express --save</div>
1818
</div>
@@ -22,15 +22,15 @@ description: Express is a fast, unopinionated, minimalist web framework for Node
2222

2323
<div id="boxes" class="clearfix">
2424
<div id="web-applications">
25-
<h3>웹 애플리케이션</h3> Express는 웹 및 모바일 애플리케이션을 위한 일련의 강력한 기능을 제공하는 간결하고 유연한 Node.js 웹 애플리케이션 프레임워크입니다.
25+
<h2>웹 애플리케이션</h2> Express는 웹 및 모바일 애플리케이션을 위한 일련의 강력한 기능을 제공하는 간결하고 유연한 Node.js 웹 애플리케이션 프레임워크입니다.
2626
</div>
2727

2828
<div id="apis">
29-
<h3>API</h3> 자유롭게 활용할 수 있는 수많은 HTTP 유틸리티 메소드 및 미들웨어를 통해 쉽고 빠르게 강력한 API를 작성할 수 있습니다.
29+
<h2>API</h2> 자유롭게 활용할 수 있는 수많은 HTTP 유틸리티 메소드 및 미들웨어를 통해 쉽고 빠르게 강력한 API를 작성할 수 있습니다.
3030
</div>
3131

3232
<div id="performance">
33-
<h3>성능</h3> Express는 기본적인 웹 애플리케이션 기능으로 구성된 얇은 계층을 제공하여, 여러분이 알고 있고 선호하는 Node.js 기능을 모호하게 만들지 않습니다.
33+
<h2>성능</h2> Express는 기본적인 웹 애플리케이션 기능으로 구성된 얇은 계층을 제공하여, 여러분이 알고 있고 선호하는 Node.js 기능을 모호하게 만들지 않습니다.
3434
</div>
3535

3636
<div id="frameworks">

0 commit comments

Comments
 (0)