Table renderer: yellow match-row highlight is hue-only (#1605 audit S7)

オープン 初心者向け
#2,138 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

まだ誰も着手していません。

評価

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

調査の方向性

org/vcell/util/gui/DefaultScrollTableCellRenderer.java から始める: マッチした行の黄色の背景は、空間プロセスマップと空間オブジェクトマップの表について行 101-111 付近で適用され、読み取り専用のテキスト色である茶色は行 58 付近にある。修正は、色以外の手がかり(枠線、太字、または列 0 のアイコン)を追加するためのパターンなので、まず同じクラス内の既存の行装飾ロジックを読むこと。完了の定義は、受け入れ基準に基づき、マッチした行がマッチしていない行と色相以外の何かによって異なること — リポジトリには実行できる明らかなレンダラテストがないため、テーブルビューで視覚的に検証すること。

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

説明

Accessibility Requirement Java-based User Interface

Follow-up from the #1605 color audit, row S7 (docs/accessibility/color-audit.md).

Findings in the shared table renderer org.vcell.util.gui.DefaultScrollTableCellRenderer:

  1. Yellow match highlight (WCAG 1.4.1 failure). In the spatial-process and spatial-object tables (:101-111), rows that match the current selection get a Color.yellow background. Against a white or #e8edff row that is 1.07–1.09:1, so the match is shown by hue alone, and tritanopes see little difference.
  2. Brown read-only text (marginal pass). Non-editable cells use brown #964B00 text (:58) versus black for editable cells: 3.3:1, just over the 3:1 lightness allowance of WCAG 1.4.1.

Fix. Give matched rows a non-color cue: a border, bold, or an icon in column 0, as the issue decoration in the same class already does. Optionally, move read-only text further from black, or add a lock icon.

Acceptance. A matched row differs from an unmatched row by something other than hue: a border or bold is present, or the lightness difference is ≥ 3:1.

Part of #1603.

主要言語
Java
スター
140
フォーク
35
平均マージ
17時間 39分
マージ済み PR(30日)
19

環境構築

はじめの一歩

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

virtualcell/vcell のほかの issue

virtualcell/vcell の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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