Improve heading semantics

オープン
#181 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 8 日以内に返信

@stephaniehobson がすでに取り組んでいます。

2026年11月4日 から。

  • #475 @stephaniehobson による — オープン

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
50/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
javascript

調査の方向性

Open src/components/views/MetricOverview.js at the referenced heading and compare it with the surrounding heading structure shown in the issue. Change the heading level only if needed to remove the h3-to-h5 jump, then verify the metrics page no longer triggers the aXe heading-level warning.

索引モデルが issue の本文から書いたものです。

説明

to do

aXe is telling me on https://metrics.mozilla.com/protected/usage-report-demo/dashboard/user-activity that "Heading levels should only increase by one". I think this is because we have an <h3> 👉 <h5>, but not an intermediate <h4> tag.

<h3 id="metrics-heading">Metrics</h3>
...
<h5 class="striped"><span>Yearly Active Users</span></h5>

I reckon we should possibly bump this from an H5 to an H4:

https://github.com/mozilla/ensemble/blob/9ebbb3dba9c0b82a674b3482a7288c46b20de0c2/src/components/views/MetricOverview.js#L91

主要言語
JavaScript
スター
21
フォーク
7
平均マージ
7日 6時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/ensemble のほかの issue

mozilla/ensemble の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。