Skip to content

同じ列名の表が並ぶと、受け皿の読み上げ名が重複する #3231

Description

@ma91n

所見

表を包む .scroll[role=region]aria-label を見出し行から作っているため、同じ列名の表が複数あると名前が同じになる。

実測

  • スタイルガイド: 「表 見本 / 変数 / 値 / 白背景との比 / 使うところ」が 5つ同名
  • 記法ガイド: 「表 項目 / 説明」が重複
  • axe landmark-unique(moderate)

影響

ランドマークで移動する読者が、同じ名前の領域を区別できない。

直す場所

scripts/table_filter.js L35 regionLabel。同じラベルが既出なら末尾に連番を足すか、直前の見出し(h2 / h3)を先に置く。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions